Skip to content

Commit

Permalink
Deleted logger by default
Browse files Browse the repository at this point in the history
  • Loading branch information
KseniaGovorun committed Nov 26, 2024
1 parent 3e47a49 commit 9ce562f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }

config.log_level = :info
# 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]
Expand Down

0 comments on commit 9ce562f

Please sign in to comment.