mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Apply Matt Ghali's --with-syslog-facility patch
svn:r5883
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user