Skip to content

Commit

Permalink
Add a way to disable the RemoteCommand logging (annoying when RemoteC…
Browse files Browse the repository at this point in the history
…ommand is heavily used).
  • Loading branch information
f1rmb committed Jan 24, 2022
1 parent fed4400 commit 4d294fd
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 @@ -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);
Expand Down

0 comments on commit 4d294fd

Please sign in to comment.