Skip to content

Commit

Permalink
Merge pull request #47307 from zzak/re-47143
Browse files Browse the repository at this point in the history
💅 use ENV.fetch(name, default) form
  • Loading branch information
guilleiguaran committed Feb 8, 2023
2 parents aa3fc0f + d4a5f1c commit ad83b01
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -70,7 +70,7 @@ Rails.application.configure do
# Info include generic and useful information about system operation, but avoids logging too much
# information to avoid inadvertent exposure of personally identifiable information (PII). Use "debug"
# for everything.
config.log_level = ENV.fetch("RAILS_LOG_LEVEL") { "info" }
config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")

# Use a different cache store in production.
# config.cache_store = :mem_cache_store
Expand Down

0 comments on commit ad83b01

Please sign in to comment.