Re: [ClusterLabs] How to globally enable trace log level in pacemaker?
On 31.10.2021 19:37, Strahil Nikolov wrote: > At least it's worth trying (/etc/sysconfig/pacemaker):PCMK_trace_files=* commit 85040eb19b9405464b01a7e67eb6769d2a03c611 Author: Ken Gaillot Date: Fri Jun 19 17:49:22 2020 -0500 Doc: sysconfig: remove outdated reference to wildcards in PCMK_trace_files Wildcards stopped working when the log filtering implementation changed in 1.1.8 to support PCMK_trace_tags. It's not worth the effort to fix at this point, so just update the comment in the sysconfig file. ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] How to globally enable trace log level in pacemaker?
At least it's worth trying (/etc/sysconfig/pacemaker):PCMK_trace_files=* Best Regards,Strahil Nikolov On Sun, Oct 31, 2021 at 18:10, Vladislav Bogdanov wrote: ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/ ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] How to globally enable trace log level in pacemaker?
Hi You may want to look at blackbox fuctionality, controlled by signals, if you won't find a way to get traces by env vars. It provides traces. Best regards On October 31, 2021 11:20:16 AM Andrei Borzenkov wrote: I think it worked in the past by passing a lot of -VVV when starting pacemaker. It does not seem to work now. I can call /usr/sbin/pacemakerd -..., 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. ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/ ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] How to globally enable trace log level in pacemaker?
On 31.10.2021 16:48, Strahil Nikolov via Users wrote: > Have you checked the options in /etc/sysconfig/pacemaker as recommended in > https://documentation.suse.com/sle-ha/15-SP3/html/SLE-HA-all/app-ha-troubleshooting.html#sec-ha-troubleshooting-log > ? > And where exactly it explains how to enable tracing in pacemaker globally? ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] How to globally enable trace log level in pacemaker?
Have you checked the options in /etc/sysconfig/pacemaker as recommended in https://documentation.suse.com/sle-ha/15-SP3/html/SLE-HA-all/app-ha-troubleshooting.html#sec-ha-troubleshooting-log ? Best Regards, Strahil Nikolov В неделя, 31 октомври 2021 г., 13:33:43 ч. Гринуич+2, Andrei Borzenkov написа: 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 > a écrit : >> I think it worked in the past by passing a lot of -VVV when starting >> pacemaker. It does not seem to work now. I can call /usr/sbin/pacemakerd >> -..., 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. ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/ ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] How to globally enable trace log level in pacemaker?
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 > a écrit : >> I think it worked in the past by passing a lot of -VVV when starting >> pacemaker. It does not seem to work now. I can call /usr/sbin/pacemakerd >> -..., 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. ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] How to globally enable trace log level in pacemaker?
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 a écrit : >I think it worked in the past by passing a lot of -VVV when starting >pacemaker. It does not seem to work now. I can call /usr/sbin/pacemakerd >-..., 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. ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
[ClusterLabs] How to globally enable trace log level in pacemaker?
I think it worked in the past by passing a lot of -VVV when starting pacemaker. It does not seem to work now. I can call /usr/sbin/pacemakerd -..., 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. ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/