add condensed logging

This commit is contained in:
Zachary Chai
2017-03-02 10:34:01 -05:00
parent 668886826f
commit ce7292e581
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Rails.application.configure do
if Rails.env.production?
config.lograge.enabled = ENV['ENABLE_CONDENSED_LOGGING'].present?
end
end