diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-08 01:24:26 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-08 01:24:26 +0200 |
commit | 0f4bc567195d368de596cdeeee6bc0b6507ae95e (patch) | |
tree | b6ef5fbeb1103203dae8237d8b26379664a397f3 /config/environments | |
parent | 87576e1ab1a4c02f8847e8264e6a62abd36df793 (diff) |
Improving production logs, removing n+1 on media attachments in atom,
adding attachments display to static views
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/production.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 7322620cf..ee7598c4c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -64,6 +64,9 @@ Rails.application.configure do # Use default logging formatter so that PID and timestamp are not suppressed. config.log_formatter = ::Logger::Formatter.new + # Better log formatting + config.lograge.enabled = true + # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false |