Skip to content
Snippets Groups Projects
Commit 2cc0d566 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

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

parent e0c3ed29
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,11 @@ Rails.application.configure do ...@@ -25,6 +25,11 @@ Rails.application.configure do
config.cache_store = :null_store config.cache_store = :null_store
end 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. # Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false config.action_mailer.raise_delivery_errors = false
config.action_mailer.perform_caching = false config.action_mailer.perform_caching = false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment