Skip to content

Commit

Permalink
Merge pull request #1213 from alphagov/reduce-log-noise-from-404s
Browse files Browse the repository at this point in the history
Don't log rescued responses as its log noise
  • Loading branch information
kentsanggds authored Feb 7, 2024
2 parents f19ce5a + 43eedf4 commit a34d7ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@

config.action_mailer.perform_caching = false

# don't log rescued responses as it's creating unnecessary noise in the logs
config.action_dispatch.log_rescued_responses = false

# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false
Expand Down

0 comments on commit a34d7ee

Please sign in to comment.