summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-02-01 02:15:44 +0000
committerPeter Palfrader <peter@palfrader.org>2006-02-01 02:15:44 +0000
commitdbf2e104609ba4f4f48766c5f59b87ee67f8ee8c (patch)
tree5b6917e5f91e69aabdcf1cf36e1b6a7e3ccb865f /src
parent415544bb753d915f04b84c4c65eddc6ff42e6fd4 (diff)
downloadtor-dbf2e104609ba4f4f48766c5f59b87ee67f8ee8c.tar.gz
tor-dbf2e104609ba4f4f48766c5f59b87ee67f8ee8c.zip
Apply Matt Ghali's --with-syslog-facility patch
svn:r5883
Diffstat (limited to 'src')
-rw-r--r--src/common/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/log.c b/src/common/log.c
index 760535bb44..2524d5cc21 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -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;