mirror of
https://github.com/mastodon/mastodon.git
synced 2025-12-17 09:33:16 +00:00
Fix HttpLog never being logged in production environment
This commit is contained in:
parent
421dbf9a7f
commit
609b71e44d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user