Skip to Content.
Sympa Menu

en - [sympa-users] Small logging bugs found

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • 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)



Archive powered by MHonArc 2.6.19+.

Top of Page