Martin Lohmeier
2005-Feb-24 20:21 UTC
[Logcheck-devel] Bug#296449: logcheck-database: cannot make sql plugin quiet
Package: logcheck-database Version: 1.2.34 Followup-For: Bug #296449 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I reopened the bug because the sql plugin cannot be made silent. When I looked into mail.log I thought it is quiet, but it logs into auth.log I tryed various combinations of log_level and sql_verbose but both did not work. I also had a look into the postfix-users list and the german postfixbuch-users list and both say "not possible". So please include my patch :-) by, Martin - -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.29 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages logcheck-database depends on: ii debconf [debconf-2.0] 1.4.30.11 Debian configuration management sy - -- debconf information: * logcheck-database/rules-directories-note: logcheck-database/standard-rename-note: logcheck-database/conffile-cleanup: false -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCHjdZGxxhbGlQyAkRAofhAKCRAlPHIthV5/ATRUZfV1anyyFmjgCgwUyi QvWP7mAKcEPT0VT6kIkxETM=PxMG -----END PGP SIGNATURE-----
Jamie L. Penman-Smithson
2005-Feb-25 15:29 UTC
[Logcheck-devel] Bug#296449: logcheck-database: cannot make sql plugin quiet
On Thu, 2005-02-24 at 21:21 +0100, Martin Lohmeier wrote:> I reopened the bug because the sql plugin cannot be made silent. When I looked into > mail.log I thought it is quiet, but it logs into auth.log > I tryed various combinations of log_level and sql_verbose but both did not work. > I also had a look into the postfix-users list and the german postfixbuch-users > list and both say "not possible".It is possible, just not within the sql plugin. The reason you're seeing those messages in auth.log is because you've configured either syslog or syslog-ng to log messages with debug level. Since you don't want or need to see debug messages unless there's something actually wrong you can stop them from appearing by using the following filter with syslog-ng: filter f_auth { facility(auth, authpriv) and not level(debug); }; I think (I haven't used it in a while) that syslog logs debug messages to /var/log/debug by default, so you've either modified your syslog.conf or you're using something other than syslog. -j -- -jamie <jamie at silverdream.org> | spamtrap: spam at silverdream.org w: http://www.silverdream.org | p: sms at silverdream.org pgp key @ http://silverdream.org/~jps/pub.key 21:30:02 up 17 min, 2 users, load average: 2.65, 2.52, 1.58 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050225/f515afe2/attachment.pgp
Martin Lohmeier
2005-Mar-01 01:00 UTC
[Logcheck-devel] Bug#296449: logcheck-database: cannot make sql plugin quiet
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jamie L. Penman-Smithson wrote: | It is possible, just not within the sql plugin. The reason you're seeing | those messages in auth.log is because you've configured either syslog or | syslog-ng to log messages with debug level. | | Since you don't want or need to see debug messages unless there's | something actually wrong you can stop them from appearing by using the | following filter with syslog-ng: | | filter f_auth { facility(auth, authpriv) and not level(debug); }; | | I think (I haven't used it in a while) that syslog logs debug messages | to /var/log/debug by default, so you've either modified your syslog.conf | or you're using something other than syslog. | | -j | Hi Jamie, I hope I don't cause to much aberration. The reason why sasl is so verbose and can't be made shut up is a bug in the sql part [1]. :-/ by, Martin *waiting for a new release of libsasl2* [1] http://asg.web.cmu.edu/archive/message.php?mailbox=archive.cyrus-sasl&searchterm=sql_verbose&msg=6183 - -- Powered by Debian GNU / Linux -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCI763GxxhbGlQyAkRAlG/AJ42emVRcmDZf2rei/S4QWdaGLN82QCeODBZ 45xQHtRAndt7oi/r9zud2pE=rN3w -----END PGP SIGNATURE-----