From: Fabian Keil Date: Sun, 28 Oct 2007 19:04:21 +0000 (+0000) Subject: Don't mention daemon mode in "Logging disabled" message. Some X-Git-Tag: v_3_0_7~111 X-Git-Url: http://www.privoxy.org/gitweb/%40user-manual%40%40actions-help-prefix%40HIDE-CONTENT-DISPOSITION?a=commitdiff_plain;h=05a1068ec32f4a4e62995cdbb8ec3e941555c247;p=privoxy.git Don't mention daemon mode in "Logging disabled" message. Some platforms call it differently and it's not really relevant anyway. --- diff --git a/errlog.c b/errlog.c index 03062421..96de4e18 100644 --- a/errlog.c +++ b/errlog.c @@ -1,4 +1,4 @@ -const char errlog_rcs[] = "$Id: errlog.c,v 1.56 2007/10/14 14:26:56 fabiankeil Exp $"; +const char errlog_rcs[] = "$Id: errlog.c,v 1.57 2007/10/27 13:02:26 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/errlog.c,v $ @@ -33,6 +33,10 @@ const char errlog_rcs[] = "$Id: errlog.c,v 1.56 2007/10/14 14:26:56 fabiankeil E * * Revisions : * $Log: errlog.c,v $ + * Revision 1.57 2007/10/27 13:02:26 fabiankeil + * Relocate daemon-mode-related log messages to make sure + * they aren't shown again in case of configuration reloads. + * * Revision 1.56 2007/10/14 14:26:56 fabiankeil * Remove the old log_error() version. * @@ -514,8 +518,7 @@ void disable_logging(void) lock_logfile(); if (logfp != NULL) { - log_error(LOG_LEVEL_INFO, - "No logfile configured while in daemon mode. Logging disabled."); + log_error(LOG_LEVEL_INFO, "No logfile configured. Logging disabled."); fclose(logfp); logfp = NULL; }