Skip to content

Commit

Permalink
Merge pull request #2333 from alphagov/sengi/loglevel
Browse files Browse the repository at this point in the history
Heed RAILS_LOG_LEVEL in production config.
  • Loading branch information
sengi committed Jul 4, 2023
2 parents bf6016b + 40792bd commit 087c0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

# Include generic and useful information about system operation, but avoid logging too much
# information to avoid inadvertent exposure of personally identifiable information (PII).
config.log_level = :info
config.log_level = ENV.fetch("RAILS_LOG_LEVEL", :info)

# Prepend all log lines with the following tags.
config.log_tags = [:request_id]
Expand Down

0 comments on commit 087c0c8

Please sign in to comment.