On Tue, May 09, 2006 at 05:44:37AM +1000, Rick Measham wrote:
> Docs are very light (IMHO) on how to get logging working from inside 
> perl. I'm sure there must be some way I can get SA to write detailed 
> output to /var/log/spamassassin but I can't for the life of me work it out.

I actually haven't prodded at the logging stuff too much, but I'd take a look
at Mail::SpamAssassin::Logger and check out how things like spamd sets up
logging.

> I've tried:
> Mail::SpamAssassin->new(
>       ...,
>       debug => 'all',
>       ...
> );
> but still don't get any logs anywhere.

debug level and logging are separate things.  logging is where/how to put out
information, debug level is amount and content of said output information.

-- 
Randomly Generated Tagline:
Don't use a big word where a diminutive one will suffice.

Attachment: pgpsZumOfMCUQ.pgp
Description: PGP signature

Reply via email to