[Pacemaker] debugging levels

Alan Jones falancluster at gmail.com
Thu Apr 1 23:03:04 UTC 2010


Hi,
I would like to set debugging levels higher than zero with
pacemaker/corosync.

[root at fc12-a heartbeat]# ./crmd version
CRM Version: 1.0.5 (ee19d8e83c2a5d45988f1cee36d334a631d84fc7)
[root at fc12-a heartbeat]# corosync -v
Corosync Cluster Engine, version '1.1.2' SVN revision '2539'
Copyright (c) 2006-2009 Red Hat, Inc.

What I would like is to only write log messages to private files and not
syslog
and to enable debug log messages from pacemaker, particularly the pengine.
So far I have corosync writing to its own log file and pacemaker writing to
both syslog and through ha_logd to ha-log and ha-debug.  However, both
outputs
are the same.

It seems there are only two configuration options for pacemaker as started
by
corosync: use_logd which I've enabled and use_mgmtd which I don't
understand.
There is no documentation for the service section of corosync.conf that I
could
find, except for lib/ais/plugin.c which has no comments.

- How to I turn off output to syslog by pacemaker?
- How to I enable all those nice debug prints in pacemaker source to go to
some file?

Thanks!
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100401/afc14245/attachment-0001.html>


More information about the Pacemaker mailing list