I'm running very high loads, and I'd like to keep my qpsmtpd logs reasonably brief - leaving it only to have a one line record per email, plus any CRITICAL or higher error messages.
qpsmtpd 0.40. I have the following two lines in my config at the front: logging/file loglevel LOGCRIT nosplit tsformat %Y%m%d-%H:%M:%S /opt/NTM/spool/qpsmtpdlog.%Y%m%d logterse loglevel LOGCRIT The first line of which I understand to set the max logging level to LOGCRIT, and the second (using the logterse plugin from Charles Butcher) should emit one line per email. I'm getting the records from logterse, but it looks very much like I'm getting logs from all levels. Eg: 20071106-15:08:40 ertps004[15937]: to email address : [<[EMAIL PROTECTED]>] 20071106-15:08:40 ertps004[15924]: from email address : [<[EMAIL PROTECTED]>] 20071106-15:08:40 ertps004[15931]: from email address : [<[EMAIL PROTECTED]>] 20071106-15:08:40 ertps004[15924]: to email address : [<[EMAIL PROTECTED]>] 20071106-15:08:40 ertps004[15931]: to email address : [<[EMAIL PROTECTED]>] 20071106-15:08:40 ertps004[15936]: `74.141.194.27 74-141-194-27.dhcp.insightbb.com 74-141-194-248.dhcp.insightbb.com <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> queued <[EMAIL PROTECTED]> Only the last log is from logterse. I'm not even sure where the "to email address" and "from email address" logs are coming from. I know I'm still seeing LOGINFO level messages. And I can't find any documentation for what config/logging and config/loglevel actually _do_. Eg: the significance of the number in the last line of loglevel. Diddling them seems to do nothing. Oh, feh, those are hard coded loglevels in lib/Qpsmtpd/SMTP.pm. Shouldn't those be LOGDEBUG, so that the plugins can make the choices for these?