Hi,

I've been using "warn" to produce output from my mods to the adaptive
logging plugin, e.g.:

    # message size, if > 0
    my $mail_size = $transaction->body_size || 0;
        warn $self->{_rejectprefix}
          . ' mail size:    '
          . $mail_size
          . " bytes\n";

Looking through some other plugins, it appears that I should be using
the "log" method, e.g. (from spamassassin):

  $self->log(LOGNOTICE, "check_spam: $flag, hits=$hits,
        required=$required, " .
        "tests=$tests");

I tried adding this to the adaptive logging plugin but it doesn't seem
to work.

.....PLONK....

Of course, the logging plugin is the one procesing the logging so the
log method won't work, will it?

R.
-- 
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?

Reply via email to