DEV: Silence all freedom patches trace in verbose query logs.
This commit is contained in:
parent
e82d4d8a75
commit
320b1e95bf
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue