Skip to content
Snippets Groups Projects
Commit ed4f15b2 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

When logging via syslog, include the pid whenever we provide

a log entry. Suggested by Todd Fries.


svn:r5366
parent bf3e689e
Branches
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment