Skip to content

Commit

Permalink
Merge pull request #10198 from DFE-Digital/revert-pr-9947
Browse files Browse the repository at this point in the history
Revert changes to the log formatter
  • Loading branch information
avinhurry authored Dec 19, 2024
2 parents 37fc9c9 + d820b9a commit c20bd23
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@
config.log_format = :json # For parsing in Logit
config.rails_semantic_logger.add_file_appender = false # Don't log to file
config.active_record.logger = nil # Don't log SQL
config.rails_semantic_logger.format = :json
config.semantic_logger.add_appender(
io: $stdout,
level: config.log_level,
formatter: config.rails_semantic_logger.format,
)

# Change to "debug" to log everything (including potentially personally-identifiable information!)
config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
Expand Down

0 comments on commit c20bd23

Please sign in to comment.