diff --git a/src/core/usp_log.c b/src/core/usp_log.c index 2722b8f..95b61b3 100644 --- a/src/core/usp_log.c +++ b/src/core/usp_log.c @@ -115,6 +115,7 @@ int USP_LOG_SetFile(const char *file) if ((file == NULL) || strcmp(file, "syslog")==0) { log_fd = NULL; + openlog("obuspa", LOG_PID | LOG_NDELAY, LOG_DAEMON); return USP_ERR_OK; }