From 06dd9a99a14da684f93e59916d82734fe044c95a Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 17 Jul 2013 21:34:52 -0700 Subject: [PATCH] better logging --- xwords4/relay/xwrelay.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xwords4/relay/xwrelay.cpp b/xwords4/relay/xwrelay.cpp index d7e8d375e..c4111a918 100644 --- a/xwords4/relay/xwrelay.cpp +++ b/xwords4/relay/xwrelay.cpp @@ -511,8 +511,9 @@ send_with_length_unsafe( const AddrInfo* addr, const unsigned char* buf, } send_via_udp( socket, saddr, XWPDEV_MSG, &asNetTok, sizeof(asNetTok), buf, bufLen, NULL ); - logf( XW_LOGINFO, "%s: sent %d bytes on UDP socket %d, token=%x(%d)", - __func__, bufLen, socket, clientToken, clientToken ); + logf( XW_LOGINFO, "%s: sent %d bytes (plus header) on UDP socket %d, " + "token=%x(%d)", __func__, bufLen, socket, clientToken, + clientToken ); ok = true; }