Skip to content

Commit

Permalink
tame the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
estiens committed May 17, 2019
1 parent 0ed03ad commit c06f12e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ gem 'httparty'
gem 'haml-rails'
gem 'jbuilder'
gem 'jbuilder_cache_multi'
gem 'lograge'
gem 'oj'
gem 'platform-api'
gem 'puma'
Expand Down
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ GEM
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
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 Down Expand Up @@ -216,6 +221,8 @@ GEM
redis-store (>= 1.2, < 2)
redis-store (1.5.0)
redis (>= 2.2, < 5)
request_store (1.4.1)
rack (>= 1.4)
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
Expand Down Expand Up @@ -286,6 +293,7 @@ DEPENDENCIES
jbuilder
jbuilder_cache_multi
jquery-rails
lograge
oj
pg (= 0.20)
platform-api
Expand Down
2 changes: 2 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# and those relying on copy on write to perform better.
# Rake tasks automatically ignore this option for performance.
config.eager_load = true
config.lograge.enabled = true

# Full error reports are disabled and caching is turned on.
config.consider_all_requests_local = false
Expand All @@ -31,6 +32,7 @@

# Generate digests for assets URLs.
config.assets.digest = true
config.assets.quiet = true

# Version of your assets, change this if you want to expire all your assets.
config.assets.version = '1.0'
Expand Down

0 comments on commit c06f12e

Please sign in to comment.