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

Andrei Borzenkov arvidjaar at gmail.com
Sun Oct 31 07:33:33 EDT 2021


On 31.10.2021 13:30, Jehan-Guillaume de Rorthais wrote:
> 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 ?
> 

It sets log level to debug, while I need trace.

> 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