I'm working on a SpamAssassin plugin for a university research project.
I've debugged a lot of it by running SpamAssassin from the command line,
and using the SA logger's dbg() and info() methods to output stuff.

Now I need to put it in a production server and see the same debug
information in the log file.  The production servers run Amavisd.
The problem is that I can't get any output to the log file.  The only
lines in the log file come from Amavisd, and not from SA itself.

I noticed that SpamAssassin uses Sys::Syslog and Amavisd uses
Unix::Syslog so I thought that might be the reason.  After a
little more searching I found that Sys::Syslog requires you to
run syslogd with a -r qualifier.  So I edited the config file for
syslogd and restarted it, but it didn't help.

I know this is the SA users list, not the developers list, but most
plugins are written by users not developers, so that's why I asked here.
Can anyone help me with this?

  Jeff Moss

Reply via email to