From 0f4bc567195d368de596cdeeee6bc0b6507ae95e Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 8 Sep 2016 01:24:26 +0200 Subject: Improving production logs, removing n+1 on media attachments in atom, adding attachments display to static views --- config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/environments') 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 -- cgit