From 248db288e3e410114002680e7a114b2c083dc266 Mon Sep 17 00:00:00 2001 From: David Georgiou Date: Wed, 22 Jan 2025 11:50:12 +0000 Subject: [PATCH] [7891] - filter on message --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 4ffad6a64c..c6e75e6719 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -84,7 +84,7 @@ io: $stdout, level: config.log_level, formatter: CustomLogFormatter.new, - filter: ->(log) { log.name != "DfE::Analytics::SendEvents" }, + filter: ->(log) { !log.message.to_s.include?("DfE::Analytics::SendEvents") }, ) config.active_record.logger = nil # Don't log SQL in production