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");
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")) {

Loading…
Cancel
Save