Skip to content

Commit

Permalink
[7891] - filter on message
Browse files Browse the repository at this point in the history
  • Loading branch information
d-a-v-e committed Jan 22, 2025
1 parent 2a6237b commit 248db28
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 @@ -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
Expand Down

0 comments on commit 248db28

Please sign in to comment.