Re: [Exim] Logging from embedded perl

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Matthias Waffenschmidt
Dátum:  
Címzett: exim-users
CC: Matthias Waffenschmidt
Tárgy: Re: [Exim] Logging from embedded perl
Hi,

On Wed, Sep 03, 2003 at 03:29:11PM +0100, Philip Hazel wrote:
> On Wed, 3 Sep 2003, Matthias Waffenschmidt wrote:
>
> > Simply concatenating to the exim log file is potentially dangerous or
> > at least may result in mixed up log entries.
>
> It is not dangerous. That is exactly the way Exim processes operate.
> They open the log file for APPEND, and ensure that each entry is written
> in single write() operation. The operating system does the rest. It's a
> neat feature of Un*x file systems.


Thank you very much for the hint.

But a new problem comes up: How do I get the location of the log file?

I have not found an expansion variable containing the log file
destination in chapter 11.8.

If there really is no such expansion variable, may this be wishlisted?

--
Gruss / Best regards   |  LF.net GmbH        |  fon +49 711 90074-411
Matthias Waffenschmidt |  Ruppmannstr. 27    |  fax +49 711 90074-33
mw@???              |  D-70565 Stuttgart  |  http://www.lf.net