Revert "Logging tweaks"
Debug logging interferes with the structured logging, so let's take that back out.
This commit is contained in:
committed by
Mike Dalessio
parent
47f481525b
commit
436caa8f74
@@ -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 ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user