Jeff, > Thanks for the patch Mark. I'll put it in production tomorrow.
For your purpose, you want to run it with option '-d info', e.g.: # amavisd -d info which will give you the 'info'-level debug at amavisd log level 1 or above (set: $log_level=1); With the next version I'll make the '-d info' a default, as in spamd. If you want a pre-release please drop me a line. > Could you please take a minute to explain the underlying issue to me. > I don't understand why SA does not log without the patch. > Is SA intentionally logging to STDERR, or is Amavisd's connection > to syslog causing SA to loose it's connection. SpamAssassin _library_ provides two methods of logging (stderr and syslog), and hooks-in the stderr logging by default. It is up to a calling program (e.g. spamd or amavisd) to substitute this default setting with something else if it chooses so, either by a provided syslog module, or by supplying own module. I chose the later because it would be ugly to use two different access mechanisms simultaneusly to send log entries to syslogd, and this way all the usual amavisd logging settings still apply, along with its mapping of log levels to syslog priorities. Mark