caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Kerneis <kerneis@pps.jussieu.fr>
To: "Török Edwin" <edwintorok@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Re: Logging
Date: Tue, 21 Dec 2010 12:47:25 +0100	[thread overview]
Message-ID: <20101221114725.GA3650@rhodium.pps.jussieu.fr> (raw)
In-Reply-To: <4D108DC8.60008@gmail.com>

On Tue, Dec 21, 2010 at 01:21:44PM +0200, Török 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


  reply	other threads:[~2010-12-21 11:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-21  9:51 Logging Gregory Bellier
2010-12-21 10:29 ` Logging Sylvain Le Gall
2010-12-21 11:16   ` [Caml-list] Logging Gregory Bellier
2010-12-21 11:21     ` Török Edwin
2010-12-21 11:47       ` Gabriel Kerneis [this message]
2010-12-21 14:33     ` Michael Ekstrand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101221114725.GA3650@rhodium.pps.jussieu.fr \
    --to=kerneis@pps.jussieu.fr \
    --cc=caml-list@yquem.inria.fr \
    --cc=edwintorok@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).