Re: [exim-dev] Exim own log format

Góra strony
Delete this message
Reply to this message
Autor: Jasen Betts
Data:  
Dla: exim-dev
Temat: Re: [exim-dev] Exim own log format
On 2014-10-09, Graeme Fowler <graeme@???> wrote:
> On Wed, 2014-10-08 at 09:58 +0000, Jasen Betts wrote:
>> IIRC one of the answers said to ask here.
>
> So far as I can ascertain from my (rather extensive) archive of the Exim
> lists, that's not the case.


I seem to be mistaken, sorry.

>> the ability to add arbitrary content to log lines could be useful,
>
> Either of these will write arbitrary content to logs:
>
> warn log_message = Arbitrary Content
> logwrite = Arbitrary Content
>
> But actually changing the defined main log format is a dead end, because
> it will break all the tools that have been built up around the defined
> main log format.


it could be an extra optional field. if you don't pupulate it it
wouldn't show.

> In the original case provided, exigrep can already pull out specific
> single elements of a message's lifetime and correlate them into one log
> entry for later processing. That doesn't help the exact request of the
> OP, but it gets some way towards it.


Trying to merge log lines real-time gets messy.

As it stands TPDA is more tractable.

--
umop apisdn