Remove lograge configuration from Docker image and production

This commit is contained in:
Christoph Haas 2026-08-22 22:08:05 +02:00
parent 4948fe50e3
commit fdf3289f54
2 changed files with 6 additions and 17 deletions

View file

@ -37,15 +37,6 @@ Rails.application.configure do
config.log_tags = [:request_id]
config.logger = ActiveSupport::TaggedLogging.logger(STDOUT)
# Lograge - structured request logging
config.lograge.enabled = true
config.lograge.custom_options = lambda do |event|
{
request_id: event.payload[:request_id],
user_id: event.payload[:user_id]
}
end
# Change to "debug" to log everything (including potentially personally-identifiable information!).
config.log_level = ENV.fetch('RAILS_LOG_LEVEL', 'info')