[Pacemaker] logging to a certain file

Angie T. Muhammad angie.tawfik at gmail.com
Mon Apr 26 06:53:59 EDT 2010


On Mon, Apr 26, 2010 at 8:39 AM, Andrew Beekhof <andrew at beekhof.net> wrote:

> On Sat, Apr 24, 2010 at 12:43 AM, Angie T. Muhammad
> <angie.tawfik at gmail.com> wrote:
> > Hello group
> > I wonder how can I raise pacemaker's log level
>
> Depend on which stack you're using underneath.
>

I am using Heartbeat latest packaged version for CentOS

>
> >  and make it log to a certain
> > file like /var/log/pacemaker.log ?
> > I don't want to go grep stuff from /var/log/messages. Thanks in advance
> :)
>
> Syslog has mechanisms for such filtering.
>
> Logging directly to a file is problematic because there are multiple
> daemons with varying permission levels.
> Which usually means most of the logs are "lost".
>

I thought of syslog and (crmd, lrmd, etc)  but wanted to make sure I am not
missing any pacemaker xml configurations that may set the logs. I 'll try
syslog this Friday and let you know how it goes. Thank you Andrew.

>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>



-- 
All the best,
Angie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100426/5f5a4170/attachment-0001.html>


More information about the Pacemaker mailing list