Mercurial > rsstweet
comparison config/environments/production.rb @ 89:d5a0d66ee457
Finish updating to rails 5
author | nanaya <me@myconan.net> |
---|---|
date | Sat, 02 Jul 2016 16:26:00 +0900 |
parents | 257910c60eb3 |
children | f67f3ad50270 |
comparison
equal
deleted
inserted
replaced
88:cf9a9ce2d034 | 89:d5a0d66ee457 |
---|---|
76 # Use a different logger for distributed setups. | 76 # Use a different logger for distributed setups. |
77 # require 'syslog/logger' | 77 # require 'syslog/logger' |
78 # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') | 78 # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') |
79 | 79 |
80 # if ENV["RAILS_LOG_TO_STDOUT"].present? | 80 # if ENV["RAILS_LOG_TO_STDOUT"].present? |
81 logger = ActiveSupport::Logger.new(STDOUT) | 81 logger = ActiveSupport::Logger.new(STDOUT) |
82 logger.formatter = config.log_formatter | 82 logger.formatter = config.log_formatter |
83 config.logger = ActiveSupport::TaggedLogging.new(logger) | 83 config.logger = ActiveSupport::TaggedLogging.new(logger) |
84 # end | 84 # end |
85 | 85 |
86 # Do not dump schema after migrations. | 86 # Do not dump schema after migrations. |