Skip to content

Commit

Permalink
Disabled colorizing logging in production
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Tsoganov authored and Sergei Tsoganov committed Oct 27, 2023
1 parent 7c3467c commit 3177523
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,13 @@
# Use default logging formatter so that PID and timestamp are not suppressed.
config.log_formatter = ::Logger::Formatter.new


# Use a different logger for distributed setups.
# require 'syslog/logger'
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'auction')
config.logger = ActiveSupport::Logger.new(STDOUT)
#
config.colorize_logging = false

# if ENV['RAILS_LOG_TO_DOCKER_STDOUT'].present?
# $stdout.sync = true
# config.rails_semantic_logger.add_file_appender = false
Expand Down

0 comments on commit 3177523

Please sign in to comment.