This commit is contained in:
OlegPhenomenon 2025-08-10 02:06:26 +00:00 committed by GitHub
commit 1345da1ade
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,4 +3,10 @@ Rails.application.configure do
require 'syslog/logger' require 'syslog/logger'
config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new(ENV['app_name'] || 'registry')) config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new(ENV['app_name'] || 'registry'))
# if ENV["RAILS_LOG_TO_STDOUT"].present?
# logger = ActiveSupport::Logger.new(STDOUT)
# logger.formatter = config.log_formatter
# config.logger = ActiveSupport::TaggedLogging.new(logger)
# end
end end