summaryrefslogtreecommitdiff
path: root/src/common/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/log.c')
-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;