We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa3fc0f + d4a5f1c commit ad83b01Copy full SHA for ad83b01
railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
@@ -70,7 +70,7 @@ Rails.application.configure do
70
# Info include generic and useful information about system operation, but avoids logging too much
71
# information to avoid inadvertent exposure of personally identifiable information (PII). Use "debug"
72
# for everything.
73
- config.log_level = ENV.fetch("RAILS_LOG_LEVEL") { "info" }
+ config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
74
75
# Use a different cache store in production.
76
# config.cache_store = :mem_cache_store
0 commit comments