Skip to Content.
Sympa Menu

en - Re: [sympa-users] Log problem

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Paul Menzel <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Log problem
  • Date: Thu, 11 Feb 2010 13:57:44 +0100

Dear Audun,


Am Mittwoch, den 10.02.2010, 18:28 +0100 schrieb Audun Bjørkøy:
> I hope someone can help me on this. I am new to Sympa and have the
> latest version (6.0.1) installed on Ubuntu 8.0.4 LTS.
>
> It seems like every time an email is sent to any list, the following
> error is emailed to the listmaster:
>
> syslog: invalid level/facility: notice at /home/sympa/bin/Log.pm line 115

The following code is in that region [1].

eval {
unless (syslog($facility, $message, @param)) {
&do_connect();
syslog($facility, $message, @param);
}
};

So `$facility` seems to equal `notice` which your Syslog has a problem
with. Looking into the manual page for the system library (`man syslog`)
notice seems not to be available as facility but as a level it is. And
looking at the documentation of `Sys::Syslog` [1] it should work.

[…]

I hope you can go on from here and test a little bit if there is a
problem with your Syslog installation, i. e. the Syslog version in
Ubuntu.

Please report your findings back to us.


Thanks,

Paul


[1] https://www.sympa.org/distribution/latest-stable/src/lib/Log.pm
[2] http://perldoc.perl.org/Sys/Syslog.html

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil




Archive powered by MHonArc 2.6.19+.

Top of Page