From 130f1fbd60087af5d933d7222457d6dfe01749ca Mon Sep 17 00:00:00 2001 From: Terry Brady Date: Fri, 22 Nov 2024 10:40:44 -0800 Subject: [PATCH] modify logger --- config/environments/production.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 1adaba48b..81ed61659 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -55,9 +55,9 @@ # config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } } # Log to STDOUT by default - config.logger = ActiveSupport::Logger.new($stdout) - .tap { |logger| logger.formatter = Logger::Formatter.new } - .then { |logger| ActiveSupport::TaggedLogging.new(logger) } + # config.logger = ActiveSupport::Logger.new($stdout) + # .tap { |logger| logger.formatter = Logger::Formatter.new } + # .then { |logger| ActiveSupport::TaggedLogging.new(logger) } # Prepend all log lines with the following tags. config.log_tags = [:request_id]