Redirect stderr messages to the log file, as in daemon mode assert() failure are silent and make wrong INI file hard to fix.

This commit is contained in:
Daniel Caujolle-Bert
2020-05-09 12:11:08 +02:00
parent 5410ca3ce8
commit c3efabf56c
4 changed files with 20 additions and 7 deletions

View File

@@ -51,7 +51,7 @@ int main(int argc, char** argv)
CRemoteCommand::CRemoteCommand(unsigned int port) :
m_port(port)
{
::LogInitialise(".", "RemoteCommand", 2U, 2U);
::LogInitialise(false, ".", "RemoteCommand", 2U, 2U);
}
CRemoteCommand::~CRemoteCommand()