diff options
author | Roger Dingledine <arma@torproject.org> | 2005-11-13 22:28:07 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-11-13 22:28:07 +0000 |
commit | ed4f15b2a78d29a9c124c77533775c037a874029 (patch) | |
tree | 371fbfb42d4ddcb69d553bc5fa6f8ff9fe6e08c9 /src | |
parent | bf3e689eefd5173f9e10d6ac333383c590fdf79d (diff) | |
download | tor-ed4f15b2a78d29a9c124c77533775c037a874029.tar tor-ed4f15b2a78d29a9c124c77533775c037a874029.tar.gz |
When logging via syslog, include the pid whenever we provide
a log entry. Suggested by Todd Fries.
svn:r5366
Diffstat (limited to 'src')
-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 9807fd292..85cd04df4 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; |