mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-06 06:53:40 +00:00
Merge branch 'master' into SimpleDMR
This commit is contained in:
commit
cf6f9b9ab7
4 changed files with 56 additions and 30 deletions
|
|
@ -336,7 +336,11 @@ int CDMRGateway::run()
|
|||
}
|
||||
#endif
|
||||
|
||||
ret = ::LogInitialise(m_conf.getLogFilePath(), m_conf.getLogFileRoot(), m_conf.getLogFileLevel(), m_conf.getLogDisplayLevel());
|
||||
#if !defined(_WIN32) && !defined(_WIN64)
|
||||
ret = ::LogInitialise(m_daemon, m_conf.getLogFilePath(), m_conf.getLogFileRoot(), m_conf.getLogFileLevel(), m_conf.getLogDisplayLevel());
|
||||
#else
|
||||
ret = ::LogInitialise(false, m_conf.getLogFilePath(), m_conf.getLogFileRoot(), m_conf.getLogFileLevel(), m_conf.getLogDisplayLevel());
|
||||
#endif
|
||||
if (!ret) {
|
||||
::fprintf(stderr, "DMRGateway: unable to open the log file\n");
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue