From: Gregory Bellier <gregory.bellier@gmail.com>
To: caml-list@inria.fr
Subject: Logging
Date: Tue, 21 Dec 2010 10:51:53 +0100 [thread overview]
Message-ID: <AANLkTimoB-0WNc1TwTSoHSGcha_No7A=OdezvbcS+xC4@mail.gmail.com> (raw)
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.
Gregory.
next reply other threads:[~2010-12-21 9:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 9:51 Gregory Bellier [this message]
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
2010-12-21 14:33 ` Michael Ekstrand
-- strict thread matches above, loose matches on Subject: below --
2006-07-20 9:20 Logging Tiago Antão
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='AANLkTimoB-0WNc1TwTSoHSGcha_No7A=OdezvbcS+xC4@mail.gmail.com' \
--to=gregory.bellier@gmail.com \
--cc=caml-list@inria.fr \
/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