Συντάκτης: Jasen Betts Ημερομηνία: Προς: exim-dev Αντικείμενο: 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.