Re: [exim] Per host log_selector

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Mike Richardson
Kopio: exim-users
Aihe: Re: [exim] Per host log_selector
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
>
> 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.


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.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book