Version française
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: Sylvain Le Gall <sylvain@l...>
Subject: Re: Logging
On 21-12-2010, Gregory Bellier <gregory.bellier@gmail.com> wrote:
> Hello.
>
> Until now, whenever I needed to log something, I used my own function
> to log. From now on, I face new problems and I would like to use
> syslog to get rid of my logging functions and use the proper unix
> ones. However, from what I've seen, syslog logs in messages, user,...
> but I can't log in a specific file like "my_project.log" unless I hack
> in /etc/syslog.cnf (I don't recall the exact path).
>
> How do you do in your projects ? I tried the following package:
> libsyslog-ocaml-dev on Debian.
>
> Thanks in advance for any inputs.

There is also Lwt_log.
http://ocsigen.org/lwt/doc/api/Lwt_log.html

Regards,
Sylvain Le Gall