DEV: Silence all freedom patches trace in verbose query logs.

This commit is contained in:
Guo Xiang Tan 2020-06-05 09:09:54 +08:00
parent e82d4d8a75
commit 320b1e95bf
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ Discourse::Application.configure do
if ENV["RAILS_VERBOSE_QUERY_LOGS"] == "1"
ActiveRecord::LogSubscriber.backtrace_cleaner.add_silencer do |line|
line =~ /lib\/freedom_patches\/fast_pluck\.rb/
line =~ /lib\/freedom_patches/
end
end