style(rubocop): Style/GlobalStdStream

This commit is contained in:
Adam Cooke
2024-02-12 09:40:35 +00:00
parent 9563f30c96
commit 75be690748
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ Rails.application.configure do
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
if ENV["RAILS_LOG_TO_STDOUT"].present?
logger = ActiveSupport::Logger.new(STDOUT)
logger = ActiveSupport::Logger.new($stdout)
logger.formatter = config.log_formatter
config.logger = ActiveSupport::TaggedLogging.new(logger)
end