about summary refs log tree commit diff
path: root/config/environments
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-01 11:34:50 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-01 11:34:50 +0100
commit65402d9c09660423ad77dd3855c58d715003593d (patch)
treeb65a6ff4724ed26b424f78cff980c7007aa2ce57 /config/environments
parentbf60f2898d8c9dcf880bd14c187caf90b9549a2a (diff)
Fix activerecord logging in production
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index d2dfa4274..3f193cce6 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -40,7 +40,7 @@ Rails.application.configure do
 
   # Use the lowest log level to ensure availability of diagnostic information
   # when problems arise.
-  config.log_level = :debug
+  config.log_level = :info
 
   # Prepend all log lines with the following tags.
   config.log_tags = [ :request_id ]
@@ -106,8 +106,6 @@ Rails.application.configure do
 
   config.react.variant = :production
 
-  config.active_record.logger = nil
-
   config.to_prepare do
     StatsD.backend = StatsD::Instrument::Backends::NullBackend.new if ENV['STATSD_ADDR'].blank?
   end