[Logcheck-devel] Bug#296449: logcheck-database: cannot make sql plugin quiet
Jamie L. Penman-Smithson
jamie at silverdream.org
Fri Feb 25 15:29:49 UTC 2005
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
More information about the Logcheck-devel
mailing list