From ffb054c95aa178a9f86fd5c6fdfcf4a5df9ec2ba Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 22 Sep 2014 20:05:55 +1000 Subject: [PATCH] Show all connector messages in debug mode --- src/connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector.c b/src/connector.c index 63b5fec2..c7ad4f77 100644 --- a/src/connector.c +++ b/src/connector.c @@ -530,6 +530,7 @@ retry: LOGWARNING("Failed to get message in connector_loop"); goto retry; } + LOGDEBUG("Connector received message: %s", buf); if (cmdmatch(buf, "ping")) { LOGDEBUG("Connector received ping request"); send_unix_msg(sockd, "pong"); @@ -550,7 +551,6 @@ retry: goto retry; } - LOGDEBUG("Connector received message: %s", buf); if (cmdmatch(buf, "shutdown")) goto out; if (cmdmatch(buf, "dropclient")) {