Re: [exim] Per host log_selector

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Kjetil Torgrim Homme
Ημερομηνία:  
Προς: exim-users
Υ/ο: Mike Richardson
Αντικείμενο: Re: [exim] Per host log_selector
On ons, 2004-10-27 at 09:34 +0100, Philip Hazel wrote:
> On Tue, 26 Oct 2004, Mike Richardson wrote:
>
> > This might sound like a fairly limited use wishlist item but I'll ask anyway.
>
> I do think it is very specialist
>
> > Thus a request for per host logging. I'd like to add the IPs of the nagios
> > machine and the two load balancers to a config option:
> >
> > log_selector_from = !10.2.18.251:!10.2.18.252:!130.88.202.58


I'd like to see this, too. although we don't get protocol errors from
our pollers, the connection logging is a little annoying.

> > Ultimately per log_selector option per host logging:
> >
> > log_selector = +smtp_connection:!10.2.18.251 +smtp_protocol_error:!130.88.202.58
> >
> > would be nice.


this would be overkill for us.

> Something that has been on the WishList for some time is a
> "local_logscan()" function, which could be used to filter all log lines.
> If that were made available, you could write code to filter log lines
> any way you wished. I think something more general of this nature is
> probably a better facility to implement.


I wonder if ACL syntax could be appropriate for this?

log_selector:
    deny hosts = +checker_hosts
    deny log_event = smtp_connection
    accept


not sure what happens to the "message" action :-)

--
Kjetil T.