[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r5342 - branches/OpenDNSSEC-1.3/signer/src/shared

Matthijs Mekking matthijs at nlnetlabs.nl
Thu Jul 28 23:48:47 CEST 2011


Author: matthijs
Date: 2011-07-28 23:48:47 +0200 (Thu, 28 Jul 2011)
New Revision: 5342

Modified:
   branches/OpenDNSSEC-1.3/signer/src/shared/log.c
Log:
don't close syslog when changing verbosity (freebsd syslog vs threads issue)



Modified: branches/OpenDNSSEC-1.3/signer/src/shared/log.c
===================================================================
--- branches/OpenDNSSEC-1.3/signer/src/shared/log.c	2011-07-26 15:32:35 UTC (rev 5341)
+++ branches/OpenDNSSEC-1.3/signer/src/shared/log.c	2011-07-28 21:48:47 UTC (rev 5342)
@@ -91,13 +91,12 @@
         verbosity, verbosity+2);
     if (logfile && logfile != stderr) {
             ods_fclose(logfile);
-	}
+    }
     log_level = verbosity + 2;
 
 #ifdef HAVE_SYSLOG_H
     if(logging_to_syslog) {
-        closelog();
-        logging_to_syslog = 0;
+        return;
     }
     if(use_syslog) {
        facility = ods_log_get_facility(filename);




More information about the Opendnssec-commits mailing list