]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/production.rb
Merge remote-tracking branch 'upstream/pull/2937' into master
[rails.git] / config / environments / production.rb
index ca186492e6f1fec3d00d5ef155e82a53511fc801..c0729067d6499733ecf8e6494d21a6814bc8abad 100644 (file)
@@ -84,7 +84,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