diff options
-rw-r--r-- | src/ulogd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ulogd.c b/src/ulogd.c index 2f23d2a..853b408 100644 --- a/src/ulogd.c +++ b/src/ulogd.c @@ -738,6 +738,7 @@ static int logfile_open(const char *name) if (!strcmp(name, "stdout")) { logfile = stdout; } else if (!strcmp(name, "syslog")) { + openlog("ulogd", LOG_PID, LOG_DAEMON); logfile = &syslog_dummy; } else { logfile = fopen(ulogd_logfile, "a"); |