Skip to content

Commit

Permalink
Improve development logging output
Browse files Browse the repository at this point in the history
This updates the configuration for development logging to include
coloured output and a backtrace.
  • Loading branch information
thomasleese committed Mar 21, 2024
1 parent 200b4b8 commit ed1722b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ed1722b

Please sign in to comment.