diff --git a/config/environments/production.rb b/config/environments/production.rb index b04f83755..5de277c02 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -42,7 +42,7 @@ # Include generic and useful information about system operation, but avoid logging too much # information to avoid inadvertent exposure of personally identifiable information (PII). - config.log_level = :info + config.log_level = ENV.fetch("RAILS_LOG_LEVEL", :info) # Prepend all log lines with the following tags. config.log_tags = [:request_id]