trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [4/4] TS-1079 Add an API function to turn debugging on for specific transactions/sessions
Date Mon, 09 Apr 2012 21:28:14 GMT
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/abf767ed/proxy/http/HttpTransact.h
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.h b/proxy/http/HttpTransact.h
index 19fe662..4a51fff 100644
--- a/proxy/http/HttpTransact.h
+++ b/proxy/http/HttpTransact.h
@@ -83,7 +83,7 @@
 #define TRANSACT_RETURN(n, r)  \
 s->next_action = n; \
 s->transact_return_point = r; \
-Debug("http_trans", "Next action %s; %s", #n, #r); \
+DebugSpecific((s->state_machine && s->state_machine->debug_on), "http_trans",
"Next action %s; %s", #n, #r); \
 return; \
 
 #define SET_UNPREPARE_CACHE_ACTION(C) \


Mime
View raw message