0
0
Fork 0

Fix Style/GlobalStdStream cop in environments/* files (#30694)

This commit is contained in:
Matt Jankowski 2024-06-14 05:50:33 -04:00 committed by GitHub
parent ab8474fd7f
commit 222ab80557
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ Rails.application.configure do
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new "app-name")
# Log to STDOUT by default
config.logger = ActiveSupport::Logger.new(STDOUT)
config.logger = ActiveSupport::Logger.new($stdout)
.tap { |logger| logger.formatter = ::Logger::Formatter.new }
.then { |logger| ActiveSupport::TaggedLogging.new(logger) }