From: Fabio M. Di Nitto <fdinitto@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] logsys in fenced
Date: Fri, 27 Jun 2008 17:16:57 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.64.0806271713000.27368@trider-g7> (raw)
In-Reply-To: <20080627150601.GA19105@redhat.com>
On Fri, 27 Jun 2008, David Teigland wrote:
> On Thu, Jun 26, 2008 at 04:43:28PM -0500, David Teigland wrote:
>> On Wed, Jun 25, 2008 at 04:21:55PM -0500, David Teigland wrote:
>>> I have yet to study logsys enough to propose an alternative to the macro
>>> magic that's now isolated at the end of fd.h.
>>
>> I've done some logsys studying and discussed it with Steve Dake. The
>> logsys implementation and api is heavily geared toward use by openais
>> plugins (see the entire notion of "subsystems" that logsys is built
>> around). Using it from a general program like fenced, not an
>> openais-plugin, makes the mismatch painfully clear.
>>
>> So, I don't hold out much hope that logsys is going to be useful for
>> non-plugins. But, just because we don't share the actual code that
>> performs logging, doesn't mean we can't have a uniform approach for
>> setting up logging properies for all cluster-related programs. That may
>> still be a worthwhile goal.
>
> The hope that I do still hold out for using logsys, is that we may be able
> to develop a simple syslog-like api for it, that would either parallel or
> sit above the plugin-oriented api that's there now. Steve claims that the
> syslog(3) api is fundamentally broken and didn't sound at all interested
> in the idea, but maybe others are more open to the idea?
My goal is to have a common logging infrastructure with the same options
all over and that will provide the same output etc. for virtually
everything as possible where it makes sense (daemons basically).
If you want to develop a parallel API or an API that sits on top, it's
fine by me. Tho you will also have to take the responsibility to convert
all code to use it, and update documentation and retain backward
compatibility for cman/qdisk/rgmanager that had already their own config
sets prior logsys. I for sure don't want see again half code converted and
half not.
In my head it sounds a lot of extra work to do but for sure i am not going
to stop you, as long this is done before we declare our API stable for 3.0
(that should happen within a reasonable amount of time == a month max).
Fabio
--
I'm going to make him an offer he can't refuse.
next prev parent reply other threads:[~2008-06-27 15:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-25 21:21 [Cluster-devel] logsys in fenced David Teigland
2008-06-26 3:48 ` Fabio M. Di Nitto
2008-06-26 14:05 ` David Teigland
2008-06-27 3:45 ` Fabio M. Di Nitto
2008-06-27 15:12 ` Fabio M. Di Nitto
2008-06-26 21:43 ` David Teigland
2008-06-27 15:06 ` David Teigland
2008-06-27 15:16 ` Fabio M. Di Nitto [this message]
2008-06-28 3:27 ` Joel Becker
2008-06-28 3:50 ` Steven Dake
-- strict thread matches above, loose matches on Subject: below --
2008-06-25 4:25 [Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.05-9-g95a5c6b fabbione
2008-06-25 14:43 ` [Cluster-devel] logsys in fenced David Teigland
2008-06-25 14:53 ` Christine Caulfield
2008-06-25 15:55 ` David Teigland
2008-06-25 16:12 ` Steven Dake
2008-06-25 16:19 ` Fabio M. Di Nitto
2008-06-25 16:50 ` David Teigland
2008-06-25 17:04 ` Fabio M. Di Nitto
2008-06-25 17:30 ` David Teigland
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=Pine.LNX.4.64.0806271713000.27368@trider-g7 \
--to=fdinitto@redhat.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).