Skip to content

Commit

Permalink
Merge pull request g4klx#737 from f1rmb/disable_remotecommand_logging
Browse files Browse the repository at this point in the history
Add a way to disable the RemoteCommand logging (annoying when RemoteCommand is heavily used).
  • Loading branch information
g4klx authored Jan 24, 2022
2 parents f81e8fb + 4d294fd commit 2b34978
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RemoteControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,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);
Expand Down

0 comments on commit 2b34978

Please sign in to comment.