user log daemon

This commit is contained in:
lxsang 2020-02-12 12:56:30 +01:00
parent 0f44d62849
commit a0445adcc5
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -170,7 +170,7 @@ int main(int argc, char* argv[])
config_t* conf = config(); config_t* conf = config();
// start syslog // start syslog
setlogmask (LOG_UPTO (LOG_NOTICE)); setlogmask (LOG_UPTO (LOG_NOTICE));
openlog (SERVER_NAME, LOG_CONS | LOG_PID | LOG_NDELAY, LOG_USER); openlog (SERVER_NAME, LOG_CONS | LOG_PID | LOG_NDELAY, LOG_DAEMON);
#ifdef USE_OPENSSL #ifdef USE_OPENSSL
if( conf->enable_ssl == 1 ) if( conf->enable_ssl == 1 )