You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/05/05 06:41:04 UTC
[Bug 3353] spamd syslog broken?
http://bugzilla.spamassassin.org/show_bug.cgi?id=3353
------- Additional Comments From jm@jmason.org 2004-05-04 21:41 -------
Subject: Re: New: spamd syslog broken?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
bugzilla-daemon@bugzilla.spamassassin.org writes:
> This command line:
>
> spamd -d -p 2004 -i 0.0.0.0 -A 128.83.0.0/16 --debug --syslog=local1
>
> no longer logs to the local1 facility, but rather to the (default)
> "user" facility. I don't have the svn version numbers handy, but
> today's (May 4) snapshop does not work, while the snapshot on Apr 27 did
> work.
hmm. I suspect a Sys::Syslog bug... could you run this perl code:
use Sys::Syslog qw(:DEFAULT setlogsock);
setlogsock 'unix';
openlog 'spamd', 'cons,pid,ndelay', 'local1';
syslog 'info', '%s', "testing";
closelog;
it should add a line saying "testing" to the local1 syslog.
If this works and spamd doesn't, we have a bug. otherwise, it's
a Sys::Syslog issue...
- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh CVS
iD8DBQFAmHBFQTcbUG5Y7woRAoJGAJwMzENR0wxUBuIf+taHDaenq36yCwCgiCKX
4vsF234v0GcFCqp+UUMWVx0=
=dVmv
-----END PGP SIGNATURE-----
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.