From 43eedf4279d0fb56400dae02097d6cb798be55c1 Mon Sep 17 00:00:00 2001 From: kentsanggds Date: Wed, 7 Feb 2024 16:07:11 +0000 Subject: [PATCH] Don't log rescued responses as its log noise --- config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 5e033047..cac3a3a5 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -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