Version franaise
Home About Download Resources Contact us
Browse thread
Logging
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gabriel Kerneis <kerneis@p...>
Subject: Re: [Caml-list] Re: Logging
On Tue, Dec 21, 2010 at 01:21:44PM +0200, Trk Edwin wrote:
> On 2010-12-21 13:16, Gregory Bellier wrote:
> > 2010/12/21 Sylvain Le Gall <sylvain@le-gall.net>:
> >>
> >> There is also Lwt_log.
> >> http://ocsigen.org/lwt/doc/api/Lwt_log.html
> > 
> > To be more verbose, I have two processes with two different effective
> > uid
> 
> If both processes start out as root then you can open the logfile before
> dropping privileges.

But you must take care of concurrent writes (which is the reason why a
daemon is still a good idea).

Best,
-- 
Gabriel