mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
12 lines
375 B
Diff
12 lines
375 B
Diff
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;
|
|
}
|
|
|