Skip to content

Commit

Permalink
remove the production logger config override
Browse files Browse the repository at this point in the history
  • Loading branch information
suprjinx committed Oct 24, 2024
1 parent 13d8b89 commit 8dbca49
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand Down

0 comments on commit 8dbca49

Please sign in to comment.