diff options
-rw-r--r-- | src/common/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/log.c b/src/common/log.c index 9807fd2921..85cd04df44 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -511,7 +511,7 @@ add_syslog_log(int loglevelMin, int loglevelMax) logfile_t *lf; if (syslog_count++ == 0) /* This is the first syslog. */ - openlog("Tor", LOG_NDELAY, LOG_DAEMON); + openlog("Tor", LOG_PID | LOG_NDELAY, LOG_DAEMON); lf = tor_malloc_zero(sizeof(logfile_t)); lf->min_loglevel = loglevelMin; |