supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: rolphin@grosgay.com
Subject: Logging everything in the database
Date: Thu, 23 Sep 2004 10:47:49 +0200	[thread overview]
Message-ID: <1095929269.41528db5a0c17@mail.games-expert.com> (raw)

Hi everyone,

I've worked on a tool to log everything in mysql or pgsql database.
It may be used instead of/with a multilog/svlogd process on the main
svcan/runsvdir process. (think about replacing the readproctitle...)

I convert the taia64 date format into the sql equivalent.

I wanted to have it launched at the system boot, but I still wanted it to be
supervised. So I fell back on using a fifo and opening it RDWR on Linux to no
block the main process (writing to a pipe not opened RDWR when the reader isn't
started blocks...).

You can find more about it on http://rolphin.expert-gamers.com/notify.html,
(for now the page is in french, if anyone is interested I will be pleased to
rewrite it english).

So tell me about this idea, what do you think about it, and what could be wrong
with it...

PS: if you use the download link you may not be able to compile the tool as is,
since I may have forget to include some libowfat function of mine ... But I
will correct this as soon as I get feedback ;p

See ya.




             reply	other threads:[~2004-09-23  8:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-23  8:47 rolphin [this message]
2004-09-23 10:36 ` Laurent Bercot
2004-09-23 13:13   ` rolphin

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=1095929269.41528db5a0c17@mail.games-expert.com \
    --to=rolphin@grosgay.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).