From ed1722b2a017ed91330c01ac26b48d8ee12fd402 Mon Sep 17 00:00:00 2001 From: Thomas Leese Date: Fri, 15 Mar 2024 10:46:38 +0000 Subject: [PATCH] Improve development logging output This updates the configuration for development logging to include coloured output and a backtrace. --- config/environments/development.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index db9207ad89..ec9eb9129e 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -74,4 +74,7 @@ # Limit log size to 50mb config.logger = ActiveSupport::Logger.new(config.paths["log"].first, 1, 50.megabytes) + + config.log_format = :color + config.semantic_logger.backtrace_level = :debug end