[tpop3d-discuss] logging to syslog error
Marcin Sochacki
wanted at gnu.univ.gda.pl
Thu, 18 Oct 2001 12:26:49 +0200
In tpop3d (8) I've found:
tpop3d logs most diagnostics via syslog(3), using facility
mail.
Unfortunately it's not 100% correct.
Some messages are logged with auth.info facility, which made my tpop3d
logs spread across various files.
With 'syslogd -d' one can see:
logmsg: auth.info<38>, flags 2, from debian, msg Oct 18 12:13:29 tpop3d[18723]:
fork_child: [3]peter(10.0.0.248): successfully authenticated with pam
logmsg: auth.info<38>, flags 2, from debian, msg Oct 18 11:53:50 tpop3d[17783]:
authcontext_delete: finished session for `aga' with pam
My temporary solution is:
******
/etc/syslog.conf
******
*.*;mail.none;auth.!=info /var/log/syslog
mail.*;auth.=info /var/log/mail.log
And for the wishlist, it would be nice to have an option to get
'compact' logs from tpop3d. Currently, one POP3 session creates about five
lines, which fills my disks quite quickly.
Regards,
Marcin