Restore log level configurability in production environment
This commit is contained in:
committed by
Mike Dalessio
parent
a2553f1dcd
commit
0417639049
@@ -90,6 +90,11 @@ Rails.application.configure do
|
||||
# Prepend all log lines with the following tags.
|
||||
config.log_tags = [ :request_id ]
|
||||
|
||||
# "info" includes generic and useful information about system operation, but avoids logging too much
|
||||
# information to avoid inadvertent exposure of personally identifiable information (PII). If you
|
||||
# want to log everything, set the level to "debug".
|
||||
config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
|
||||
|
||||
# Use a different cache store in production.
|
||||
config.cache_store = :solid_cache_store
|
||||
|
||||
|
||||
Reference in New Issue
Block a user