[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Apply Matt Ghali"s --with-syslog-facility patch



Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv28294/src/common

Modified Files:
	log.c 
Log Message:
Apply Matt Ghali's --with-syslog-facility patch

Index: log.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/log.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -p -d -r1.111 -r1.112
--- log.c	11 Jan 2006 19:40:14 -0000	1.111
+++ log.c	1 Feb 2006 02:15:44 -0000	1.112
@@ -487,7 +487,7 @@ add_syslog_log(int loglevelMin, int logl
   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;