Apply Matt Ghali's --with-syslog-facility patch

svn:r5883
This commit is contained in:
Peter Palfrader
2006-02-01 02:15:44 +00:00
parent 415544bb75
commit dbf2e10460
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -487,7 +487,7 @@ add_syslog_log(int loglevelMin, int loglevelMax)
logfile_t *lf;
if (syslog_count++ == 0)
/* This is the first syslog. */
openlog("Tor", LOG_PID | LOG_NDELAY, LOG_DAEMON);
openlog("Tor", LOG_PID | LOG_NDELAY, LOGFACILITY);
lf = tor_malloc_zero(sizeof(logfile_t));
lf->min_loglevel = loglevelMin;