From 8dbca492b0ac4961236e165a4462f358e50e7290 Mon Sep 17 00:00:00 2001 From: Geoff Wilson Date: Thu, 24 Oct 2024 10:56:31 -0400 Subject: [PATCH] remove the production logger config override --- config/environments/production.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 11bb8fd..467adad 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -47,14 +47,6 @@ # Skip http-to-https redirect for the default health check endpoint. # 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) } - - # 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".