Fix HttpLog never being logged in production environment

This commit is contained in:
Claire 2025-08-19 18:22:56 +02:00
parent 421dbf9a7f
commit 609b71e44d

View File

@ -60,7 +60,7 @@ Rails.application.configure do
config.logger = ActiveSupport::TaggedLogging.logger($stdout, formatter: config.log_formatter)
# Change to "debug" to log everything (including potentially personally-identifiable information!)
config.log_level = ENV.fetch('RAILS_LOG_LEVEL', 'info')
config.log_level = ENV.fetch('RAILS_LOG_LEVEL', 'info')&.to_sym
# Use a different cache store in production.
config.cache_store = :redis_cache_store, REDIS_CONFIGURATION.cache