OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: don't log balancer connection

From: Bill Cole (postfixlists-070913billmail.scconsult.com)
Date: Thu Mar 27 2008 - 10:45:35 CDT


At 10:20 AM +0100 3/27/08, Mauro Rappa wrote:
>Hi All,
>i'd like to exclude from logging the balancer's connections made
>every 2 seconds:
>
>Mar 27 10:19:09 cambridge postfix/smtpd[15745]: connect from tmx[10.0.1.14]
>Mar 27 10:19:09 cambridge postfix/smtpd[15745]: lost connection
>after CONNECT from tmx[10.0.1.14]
>Mar 27 10:19:09 cambridge postfix/smtpd[15745]: disconnect from tmx[10.0.1.14]
>
>Is it possible?

That's more a question about syslog and logging principles than it is
about Postfix. Dr. Venema's indirect response to your question
*might* be grounded in a principle that originators of syslog
messages should have minimal configurability in what they generate,
limited to depth of detail and NOT including the use of site-specific
and/or ephemeral details (like the IP address of a load balancer) so
that there's minimal space to doubt the completeness of what has been
logged based on subtle configuration details in themoriginators of
log messages.

The right ways to narrow down what you see in logs is in your syslog
configuration (deciding what messages to record and where) and in how
you look at the logs (i.e. become friends with 'grep -v' )

--
Bill Cole
billscconsult.com