@@ -706,6 +706,7 @@ def generate_config_with_current_values() -> str:
706706TIME_FORMAT_12H = False
707707PRIVACY_SUBSTITIONS = []
708708mode_of_the_tool = "Unknown"
709+ SKIP_WRAP_MESSAGES = False
709710
710711exec (CONFIG_BLOCK , globals ())
711712
@@ -6128,10 +6129,11 @@ def wrapper(*args, **kwargs):
61286129 if method and isinstance (method , str ):
61296130 method = method .upper ()
61306131 url = kwargs .get ("url" ) or (args [2 ] if len (args ) > 2 else None )
6131- if DEBUG_MODE :
6132- debug_print (f"[WRAP-REQ] { method } { url } " )
6133- elif JITTER_VERBOSE :
6134- print (f"* [WRAP-REQ] { method } { url } " )
6132+ if not SKIP_WRAP_MESSAGES :
6133+ if DEBUG_MODE :
6134+ debug_print (f"[WRAP-REQ] { method } { url } " )
6135+ elif JITTER_VERBOSE :
6136+ print (f"* [WRAP-REQ] { method } { url } " )
61356137
61366138 def _do_request ():
61376139 # If jitter is disabled, just perform the request (but still optionally serialized by the outer lock)
@@ -6259,10 +6261,11 @@ def wrapper(*args, **kwargs):
62596261 if method and isinstance (method , str ):
62606262 method = method .upper ()
62616263 url = getattr (req_obj , "url" , None )
6262- if DEBUG_MODE :
6263- debug_print (f"[WRAP-SEND] { method } { url } " )
6264- elif JITTER_VERBOSE :
6265- print (f"* [WRAP-SEND] { method } { url } " )
6264+ if not SKIP_WRAP_MESSAGES :
6265+ if DEBUG_MODE :
6266+ debug_print (f"[WRAP-SEND] { method } { url } " )
6267+ elif JITTER_VERBOSE :
6268+ print (f"* [WRAP-SEND] { method } { url } " )
62666269
62676270 def _do_send ():
62686271 if ENABLE_JITTER :
0 commit comments