Add back stdout logging to development environment after rails_12factor was removed (#3011)

th-downstream
Eugen Rochko 8 years ago committed by GitHub
parent 777f28e06b
commit 47fb42be01

@ -25,6 +25,11 @@ Rails.application.configure do
config.cache_store = :null_store
end
ActiveSupport::Logger.new(STDOUT).tap do |logger|
logger.formatter = config.log_formatter
config.logger = ActiveSupport::TaggedLogging.new(logger)
end
# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false
config.action_mailer.perform_caching = false

Loading…
Cancel
Save