Re: [exim-dev] Logging to a pipe

Pàgina inicial
Delete this message
Reply to this message
Autor: Ted Cooper
Data:  
A: Johannes Berg
CC: exim-dev, Graeme Fowler
Assumpte: Re: [exim-dev] Logging to a pipe
Johannes Berg wrote:
> On Thu, 2007-08-02 at 09:00 +0100, Philip Hazel wrote:
>
>>> It struck me that if Exim was able to log to a pipe - i.e. send the
>>> output it normally puts in the various other logs out to a child process
>>> via a pipe - that we'd greatly extend the functionality and availability
>>> of real-time stats packages which can monitor Exim and spit out graphs,
>>> reports, alerts and so on.
>> But you can already "tail" the main log file to achieve this in as near
>> real-time as you like. That's how eximon works.
>
> And even better, if you use 'inotail' on Linux then you get a
> notification from the kernel every time the other process writes and you
> can then read from the file.
>
> johannes
>


Or use the syslogd pipes

--
The Exim Manual
http://www.exim.org/docs.html
http://www.exim.org/exim-html-current/doc/html/spec_html/index.html