Restore log level configurability in production environment

This commit is contained in:
Dmytro Shteflyuk
2025-12-22 16:54:47 -05:00
committed by Mike Dalessio
parent a2553f1dcd
commit 0417639049
+5
View File
@@ -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