You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2016/11/29 22:24:22 UTC

qpid-dispatch git commit: DISPATCH-572 - Added connection identifier to 'Accepted from' log message so one can easily identify log messages on a specific connection

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 57c89de74 -> 45150d2fd


DISPATCH-572 - Added connection identifier to 'Accepted from' log message so one can easily identify log messages on a specific connection


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

Branch: refs/heads/master
Commit: 45150d2fd309949cb40489a46e46a69dfcb97cba
Parents: 57c89de
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Tue Nov 29 17:24:13 2016 -0500
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Tue Nov 29 17:24:13 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/45150d2f/src/server.c
----------------------------------------------------------------------
diff --git a/src/server.c b/src/server.c
index a0fd342..ee400b1 100644
--- a/src/server.c
+++ b/src/server.c
@@ -631,9 +631,6 @@ static void thread_process_listeners_LH(qd_server_t *qd_server)
             continue;
 
         char logbuf[qd_log_max_len()];
-
-        qd_log(qd_server->log_source, QD_LOG_DEBUG, "Accepting %s",
-               log_incoming(logbuf, sizeof(logbuf), cxtr));
         
         ctx = qd_connection_allocate();
         ctx->server        = qd_server;
@@ -663,6 +660,9 @@ static void thread_process_listeners_LH(qd_server_t *qd_server)
         DEQ_INSERT_TAIL(qd_server->connections, ctx);
         qd_entity_cache_add(QD_CONNECTION_TYPE, ctx);
 
+        qd_log(qd_server->log_source, QD_LOG_TRACE, "Accepting %s with connection id [%"PRIu64"]",
+           log_incoming(logbuf, sizeof(logbuf), cxtr), ctx->connection_id);
+
         //
         // Get a pointer to the transport so we can insert security components into it
         //


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