[ClusterLabs] How to globally enable trace log level in pacemaker?

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Sun Oct 31 06:30:59 EDT 2021


Hi,

Under EL and Debian, there's a PCMK_debug variable (iirc) in "/etc/sysconfig/pacemaker" or "/etc/default/pacemaker".

Comments in there explain how to set debug mode for part or all of the pacemaker processes.

This might be the environment variable you are looking for ?

Regards,

Le 31 octobre 2021 09:20:00 GMT+01:00, Andrei Borzenkov <arvidjaar at gmail.com> a écrit :
>I think it worked in the past by passing a lot of -VVVVVVV when starting
>pacemaker. It does not seem to work now. I can call /usr/sbin/pacemakerd
>-VVVVVVVVVVVV..., but it does pass options further to children it
>starts. So every other daemon is started without any option and with
>default log level.
>
>This pacemaker 2.1.0 from openSUSE Tumbleweed.
>
>P.S. environment variable to directly set log level would certainly be
>helpful.


More information about the Users mailing list