On Fri, Apr 2, 2010 at 1:03 AM, Alan Jones <falanclus...@gmail.com> wrote: > Hi, > I would like to set debugging levels higher than zero with > pacemaker/corosync. > > [r...@fc12-a heartbeat]# ./crmd version > CRM Version: 1.0.5 (ee19d8e83c2a5d45988f1cee36d334a631d84fc7) > [r...@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.
pacemaker also uses the logging options of corosync.conf though only recent versions (post 1.0.8) allow logging to only a file. > 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 > > > _______________________________________________ > Pacemaker mailing list > Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker