Add a way to disable the RemoteCommand logging (annoying when RemoteCommand is heavily used).

This commit is contained in:
Daniel Caujolle-Bert
2022-01-24 02:55:18 +00:00
parent fed4400632
commit 4d294fda56

View File

@@ -160,7 +160,9 @@ REMOTE_COMMAND CRemoteControl::getCommand()
m_args.clear();
LogWarning(buffer);
} else {
#if !defined(REMOTE_COMMAND_NO_LOG)
LogMessage(buffer);
#endif
}
m_socket.write((unsigned char*)replyStr.c_str(), replyStr.length(), address, addrlen);