-
-
Save daviddavis/b353d7fde212797cdbee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/initializers/quiet_paths.rb b/config/initializers/quiet_paths.rb | |
index 7cad33b..b40a3b3 100644 | |
--- a/config/initializers/quiet_paths.rb | |
+++ b/config/initializers/quiet_paths.rb | |
@@ -8,6 +8,7 @@ Rails::Rack::Logger.class_eval do | |
# Increase log level because of messages that have a low level should not be displayed | |
quiet = PREFIXES.any?{|p| env["PATH_INFO"].start_with?(p) } | |
Rails.logger.level = level if quiet | |
+ debugger if env["REQUEST_PATH"] == "/katello/api/repositories/1/content_uploads/file" | |
call_without_quiet(env) | |
ensure | |
# Return back |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment