From 8db9abe036158d225135c0c6abd06394e02404b4 Mon Sep 17 00:00:00 2001 From: Martha Thompson <437455+MothOnMars@users.noreply.github.com> Date: Wed, 8 Jan 2020 12:47:28 -0800 Subject: [PATCH] SRCH-1145 remove lograge gem (#513) --- Gemfile | 1 - Gemfile.lock | 6 ------ config/initializers/lograge.rb | 11 ----------- 3 files changed, 18 deletions(-) delete mode 100644 config/initializers/lograge.rb diff --git a/Gemfile b/Gemfile index 501f38a1a2..a9416f803a 100644 --- a/Gemfile +++ b/Gemfile @@ -83,7 +83,6 @@ gem 'retry_block', '~> 1.2.0' gem 'aws-sdk', '< 3.0' gem 'colorize', '~> 0.8.1' gem 'dogstatsd-ruby', '~> 3.2.0' -gem 'lograge', '~> 0.9.0' gem 'test-unit', '~> 3.2.7' gem 'http', '~> 1.0' gem 'robots_tag_parser', '~> 0.1.0', git: 'https://github.com/GSA/robots_tag_parser' diff --git a/Gemfile.lock b/Gemfile.lock index d2aa17c920..a39bb744bb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -435,11 +435,6 @@ GEM logging (2.2.2) little-plugger (~> 1.1) multi_json (~> 1.10) - lograge (0.9.0) - actionpack (>= 4) - activesupport (>= 4) - railties (>= 4) - request_store (~> 1.0) loofah (2.3.1) crass (~> 1.0.2) nokogiri (>= 1.5.9) @@ -846,7 +841,6 @@ DEPENDENCIES launchy (~> 2.4.3) less-rails-bootstrap! listen (~> 3.1.5) - lograge (~> 0.9.0) loofah (~> 2.3.1) medusa! mobile-fu (~> 1.4.0) diff --git a/config/initializers/lograge.rb b/config/initializers/lograge.rb deleted file mode 100644 index 1f295ce1a4..0000000000 --- a/config/initializers/lograge.rb +++ /dev/null @@ -1,11 +0,0 @@ -Rails.application.configure do - config.lograge.keep_original_rails_log = true - config.lograge.enabled = true - config.lograge.logger = ActiveSupport::Logger.new "#{Rails.root}/log/lograge_#{Rails.env}.log" - config.lograge.custom_options = lambda do |event| - { - ip: event.payload[:ip], - time: event.time.utc.iso8601 - } - end -end