On 2011-05-17T17:16:51, Ulrich Windl <[email protected]> wrote:

> I think that pacemaker is logging too much all the time, so you hardly can 
> find out if there really is a problem. For example external/sbd is logging a 
> message every time the shared disk is OK, that is every 30s or so.

It should not - the external/sbd status code path doesn't have any log
messages? What do you see?

In general, turning down logging is something that we do, but with care
- disk space is cheap, missing the information to diagnose a problem
after the first failure and needing to recreate it is not. I'd rather
err on the conservative side. If you're looking for important bits,
filtering for warn/crit/err/emerg should do.

Syslog has the advantage of seeing all messages in context, an
incredibly valuable aspect.

> And of course, I wouldn't complain if I hadn't done it better long time ago:

Ah, so you're offering patches! ;-) Excellent, we look forward to
reviewing them - please post them on the respective development mailing
lists.

> Seeing pacemaker logs, I feel the programmers just left their personal 
> debugging messages in there which nobody really understands. An example:

Of course. Some of the messages are intended to be read by developers
when we try to diagnose customer/user problems. They get very anxious
when we can't. ;-)

Like I said, we're always tuning them down - you'll find that they are a
lot quieter nowadays than they were 2 years ago, and in theory, a
cluster that doesn't do anything won't log much. What you quoted was,
however, from an active transition - the cluster was actively doing
something anyway, and we'd rather be able to figure it out in
retrospect.


Regards,
    Lars

-- 
Architect Storage/HA, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 
21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to