Skip to content

Commit

Permalink
Merge pull request #1348 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 authored Jul 4, 2023
2 parents 0a947d2 + b6ec16a commit f50c5e5
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 @@ -42,7 +42,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 f50c5e5

Please sign in to comment.