qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject [1/2] qpid-dispatch git commit: DISPATCH-178 - Additional fix to include proton's PN_TRACE_RAW and PN_TRACE_DRV messages to be included in dispatch's TRACE logging
Date Mon, 26 Oct 2015 15:16:39 GMT
Repository: qpid-dispatch
Updated Branches:
  refs/heads/master e5135fc8f -> fed493c6a


DISPATCH-178 - Additional fix to include proton's PN_TRACE_RAW and PN_TRACE_DRV messages to
be included in dispatch's TRACE logging


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/60d3cf97
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/60d3cf97
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/60d3cf97

Branch: refs/heads/master
Commit: 60d3cf97d9cb99a9d0bdbe56ed58329f578a55dc
Parents: e5135fc
Author: ganeshmurthy <gmurthy@redhat.com>
Authored: Thu Oct 22 21:27:42 2015 -0400
Committer: ganeshmurthy <gmurthy@redhat.com>
Committed: Thu Oct 22 21:27:42 2015 -0400

----------------------------------------------------------------------
 src/server.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/60d3cf97/src/server.c
----------------------------------------------------------------------
diff --git a/src/server.c b/src/server.c
index d53b64e..f1f7343 100644
--- a/src/server.c
+++ b/src/server.c
@@ -295,11 +295,11 @@ static void thread_process_listeners_LH(qd_server_t *qd_server)
 
         //
         // Proton pushes out its trace to qd_transport_tracer() which in turn writes a trace
message to the qdrouter log
-        // If trace level logging is enabled on the router set PN_TRACE_FRM on the proton
transport
+        // If trace level logging is enabled on the router set PN_TRACE_DRV | PN_TRACE_FRM
| PN_TRACE_RAW on the proton transport
         //
         pn_transport_set_context(tport, ctx);
         if (qd_log_enabled(qd_server->log_source, QD_LOG_TRACE)) {
-            pn_transport_trace(tport, PN_TRACE_FRM);
+            pn_transport_trace(tport, PN_TRACE_DRV | PN_TRACE_FRM | PN_TRACE_RAW);
             pn_transport_set_tracer(tport, qd_transport_tracer);
         }
 
@@ -869,10 +869,10 @@ static void cxtr_try_open(void *context)
     //
     // Proton pushes out its trace to qd_transport_tracer() which in turn writes a trace
message to the qdrouter log
     //
-    // If trace level logging is enabled on the router set PN_TRACE_FRM on the proton transport
+    // If trace level logging is enabled on the router set PN_TRACE_DRV | PN_TRACE_FRM |
PN_TRACE_RAW on the proton transport
     pn_transport_set_context(tport, ctx);
     if (qd_log_enabled(ct->server->log_source, QD_LOG_TRACE)) {
-        pn_transport_trace(tport, PN_TRACE_FRM);
+        pn_transport_trace(tport, PN_TRACE_DRV | PN_TRACE_FRM | PN_TRACE_RAW);
         pn_transport_set_tracer(tport, qd_transport_tracer);
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message