Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
Use Lograge to cut down on logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachlatta committed May 15, 2018
1 parent 44eac15 commit be1f73c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ gem 'chronic', '~> 0.10.2'
gem 'concurrent-ruby', require: 'concurrent'
gem 'faker', '~> 1.6'
gem 'geocoder', '~> 1.4'
gem 'lograge', '~> 0.10.0'
gem 'mimemagic', '~> 0.3'
gem 'mini_magick', '~> 4.8'
gem 'octokit', '~> 4.7'
Expand All @@ -31,7 +32,6 @@ gem 'sidekiq', '~> 5.0', '>= 5.0.5'
gem 'skylight', '~> 1.5', '>= 1.5.1'
gem 'stripe', '~> 3.0'
gem 'terminal-table', '~> 1.7'
gem 'timber', '~> 2.6', '>= 2.6.1'
gem 'timezone', '~> 1.0'
gem 'wkhtmltopdf-binary', '~> 0.12.3'

Expand Down
12 changes: 8 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ GEM
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
lograge (0.10.0)
actionpack (>= 4)
activesupport (>= 4)
railties (>= 4)
request_store (~> 1.0)
loofah (2.2.2)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
Expand All @@ -157,7 +162,6 @@ GEM
mini_mime (1.0.0)
mini_portile2 (2.3.0)
minitest (5.11.3)
msgpack (1.2.4)
multipart-post (2.0.0)
nenv (0.3.0)
netrc (0.11.0)
Expand Down Expand Up @@ -237,6 +241,8 @@ GEM
redis-store (>= 1.2, < 2)
redis-store (1.4.1)
redis (>= 2.2, < 5)
request_store (1.4.1)
rack (>= 1.4)
rest-client (2.0.2)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
Expand Down Expand Up @@ -314,8 +320,6 @@ GEM
unicode-display_width (~> 1.1, >= 1.1.1)
thor (0.20.0)
thread_safe (0.3.6)
timber (2.6.1)
msgpack (~> 1.0)
timezone (1.2.10)
tzinfo (1.2.5)
thread_safe (~> 0.1)
Expand Down Expand Up @@ -353,6 +357,7 @@ DEPENDENCIES
gruff
guard-rspec (~> 4.7)
listen (~> 3.0.5)
lograge (~> 0.10.0)
mimemagic (~> 0.3)
mini_magick (~> 4.8)
octokit (~> 4.7)
Expand All @@ -378,7 +383,6 @@ DEPENDENCIES
spring-watcher-listen (~> 2.0.0)
stripe (~> 3.0)
terminal-table (~> 1.7)
timber (~> 2.6, >= 2.6.1)
timezone (~> 1.0)
tzinfo-data
vcr (~> 3.0)
Expand Down
3 changes: 3 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,7 @@

# Use S3 for ActiveStorage
config.active_storage.service = :amazon

# Enable Lograge in prod
config.lograge.enabled = true
end

0 comments on commit be1f73c

Please sign in to comment.