Re: [exim] "drop" verb and logging ..

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] "drop" verb and logging ..
Tony Finch wrote:
> On Thu, 27 Jan 2005, Philip Hazel wrote:
>
>>I'm a bit chary about not writing stuff to the main log, because it
>>would then be telling an incomplete story.
>
>
> I find I often want to grep for lines only related to messages we
> accepted, so I think it would be useful to have a log file containing
> everything except the contents of the rejectlog. Grepping the whole
> mainlog is time-consuming, given that ours are about 500MB/day, and the
> machines don't have enough RAM to keep it in the buffer cache on the off
> chance I need to do some searching.


You could run a continuous "tail -f mainlog | grep '<='".
But this runs into problems at log switchover time. It'd
be nice if exim could integrate the restart of such external
log-munchers. How does eximon manage? Could it do the job?

- Jeremy