Skip to content

Commit

Permalink
💅 use ENV.fetch(name, default) form
Browse files Browse the repository at this point in the history
  • Loading branch information
zzak committed Feb 8, 2023
1 parent c316842 commit d4a5f1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 d4a5f1c

Please sign in to comment.