Skip to Content.
Sympa Menu

devel - archived.pl and Syslog

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Dominique ROUSSEAU <address@concealed>
  • To: address@concealed
  • Subject: archived.pl and Syslog
  • Date: Mon, 25 Sep 2000 15:52:41 +0200

I have found a problem in the way archived.pl reads conf to get Sylog
facility level. It put the value in $wwsconf, but uses $conf when it
comes to using it.
Here is, a small patch that correct it (its against 2.7.2, but I don't
think archived changed much in 2.7.3 :-)




*** /nnx/sympa/inst/sympa-2.7.2/wwsympa/archived.pl Tue Jun 27
09:21:05 2000
--- archived.pl Thu Sep 14 19:12:14 2000
***************
*** 55,61 ****
do_log('debug', "Starting archive daemon, pid $_");
exit(0);
}
! $wwsconf->{'log_facility'}||= $Conf{'syslog'};
do_openlog($conf->{'log_facility'}, $Conf{'log_socket_type'});
}

--- 55,61 ----
do_log('debug', "Starting archive daemon, pid $_");
exit(0);
}
! $conf->{'log_facility'}||= $Conf{'syslog'};
do_openlog($conf->{'log_facility'}, $Conf{'log_socket_type'});
}



--
Dominique Rousseau <address@concealed>
Neuronnexion - http://www.neuronnexion.com


  • archived.pl and Syslog, Dominique ROUSSEAU, 09/25/2000

Archive powered by MHonArc 2.6.19+.

Top of Page