]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2768] Output seq of message waited for
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Fri, 22 Feb 2013 10:10:00 +0000 (11:10 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Fri, 22 Feb 2013 10:21:52 +0000 (11:21 +0100)
To help debugging.

src/lib/cc/cc_messages.mes
src/lib/cc/session.cc

index b561784b1e9fd6fb91f2cf78a0656d2da7982f0c..9be9c7cc714a7ed777720d801d0b88aaf1dbded5 100644 (file)
@@ -37,7 +37,7 @@ socket listed in the output.
 This debug message indicates that the connection was successfully made, this
 should follow CC_ESTABLISH.
 
-% CC_GROUP_RECEIVE trying to receive a message
+% CC_GROUP_RECEIVE trying to receive a message with seq %1
 Debug message, noting that a message is expected to come over the command
 channel.
 
index da78bd48b0f8062350a6e71ad801af54c675b15f..f809105270ea19255d174ec0a1f43743bc45ca87 100644 (file)
@@ -498,7 +498,7 @@ bool
 Session::group_recvmsg(ConstElementPtr& envelope, ConstElementPtr& msg,
                        bool nonblock, int seq)
 {
-    LOG_DEBUG(logger, DBG_TRACE_DETAILED, CC_GROUP_RECEIVE);
+    LOG_DEBUG(logger, DBG_TRACE_DETAILED, CC_GROUP_RECEIVE).arg(seq);
     bool result(recvmsg(envelope, msg, nonblock, seq));
     if (result) {
         LOG_DEBUG(logger, DBG_TRACE_DETAILED, CC_GROUP_RECEIVED).