Browse Source

Show all connector messages in debug mode

master
Con Kolivas 10 years ago
parent
commit
ffb054c95a
  1. 2
      src/connector.c

2
src/connector.c

@ -530,6 +530,7 @@ retry:
LOGWARNING("Failed to get message in connector_loop"); LOGWARNING("Failed to get message in connector_loop");
goto retry; goto retry;
} }
LOGDEBUG("Connector received message: %s", buf);
if (cmdmatch(buf, "ping")) { if (cmdmatch(buf, "ping")) {
LOGDEBUG("Connector received ping request"); LOGDEBUG("Connector received ping request");
send_unix_msg(sockd, "pong"); send_unix_msg(sockd, "pong");
@ -550,7 +551,6 @@ retry:
goto retry; goto retry;
} }
LOGDEBUG("Connector received message: %s", buf);
if (cmdmatch(buf, "shutdown")) if (cmdmatch(buf, "shutdown"))
goto out; goto out;
if (cmdmatch(buf, "dropclient")) { if (cmdmatch(buf, "dropclient")) {

Loading…
Cancel
Save