From 44af266db61111b5810b0af8aaf4816ca15e96a4 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 20 Jun 2011 18:10:42 -0700 Subject: [PATCH] add logging --- xwords4/relay/tpool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xwords4/relay/tpool.cpp b/xwords4/relay/tpool.cpp index fcc7acf23..274006621 100644 --- a/xwords4/relay/tpool.cpp +++ b/xwords4/relay/tpool.cpp @@ -171,6 +171,7 @@ XWThreadPool::CloseSocket( int socket ) void XWThreadPool::EnqueueKill( int socket, const char* const why ) { + logf( XW_LOGINFO, "%s(%d) reason: %s", __func__, socket, why ); enqueue( socket, STYPE_UNKNOWN, Q_KILL ); }