I just checked in changes to flip the sense of the adaptive logging
plugin. After having run with it for a while there were a couple of
things that didn't work the way I wanted:
All log entries were cached (in the $transaction object) until qpsmtpd
either accepted or rejected the message. This meant that messages that
hung (waiting for the timeout to expire, for example), wouldn't log
anything until processing was completed one way or the other.
What I've done now is any log line <= the max configured level is echoed
immediately and only the lines <= the min level are saved. When the
message is accepted, these log lines are echoed with the prefix string
(character), so that multilog can be used to direct those entries into
another file. I also included an example log/run file which will split
the log lines appropriately.
Share and enjoy...
John