Subject: The mailing list for listmasters using Sympa
List archive
- From: "Mail administrator, Otto J. Makela" <address@concealed>
- To: "address@concealed" <address@concealed>
- Subject: [sympa-users] Small logging bugs found
- Date: Tue, 24 Apr 2012 10:36:52 +0300
When trying to resolve a syntax problem in a quite old list
configuration file, I found that the messages produced into the
log about which file the errors occurred in were incorrect.
It turned out that List.pm was calling do_log with more parameters
than the sprintf pattern given consumed, here is the corrected line
(10883 in revision 6986):
&do_log('err', 'Bad entry "%s" for key "%s" in paragraph "%s" in %s',
$paragraph[$i], $key, $pname, $config_file);
Also, file Conf.pm seems to have pretty much the same error with more
parameters than the printf pattern uses (line 1444 in revision 6669),
here is the corrected version:
printf STDERR 'Bad entry "%s" for key "%s" in paragraph "%s" in %s\n',
$paragraph[$i], $key, $pname, $config_file;
Can someone who works on Sympa see if these are already corrected,
if not, make these corrections?
--
address@concealed (Mail Administrator, Otto J. Makela)
-
[sympa-users] Small logging bugs found,
Mail administrator, Otto J. Makela, 04/24/2012
- Re: [sympa-users] Small logging bugs found, David Verdin, 04/24/2012
Archive powered by MHonArc 2.6.19+.