From 436caa8f7459c8b567305e9440e0107971af02af Mon Sep 17 00:00:00 2001 From: Kevin McConnell Date: Fri, 14 Nov 2025 16:38:49 +0000 Subject: [PATCH] Revert "Logging tweaks" Debug logging interferes with the structured logging, so let's take that back out. --- config/environments/production.rb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index cdc410dad..31b7d2770 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -52,17 +52,12 @@ Rails.application.configure do .tap { |logger| logger.formatter = ::Logger::Formatter.new } .then { |logger| ActiveSupport::TaggedLogging.new(logger) } - # Enable detailed logging - config.log_level = :debug - - # Prevent health checks from clogging up the logs. - config.silence_healthcheck_path = "/up" + # Suppress unstructured log lines + config.log_level = :fatal # Structured JSON logging config.structured_logging.logger = ActiveSupport::Logger.new(STDOUT) - config.solid_queue.logger = ActiveSupport::Logger.new(STDOUT, level: :info) - # Prepend all log lines with the following tags. config.log_tags = [ :request_id ]