about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--config/environments/development.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index c20d08493..86f29e3f4 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -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