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

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

diff --git a/config/environments/development.rb b/config/environments/development.rb
index 7cb2a61..cd89923 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -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
 

GitHub sha: 320b1e95

1 Like