[ClusterLabs] Antw: Re: Q: (SLES11 SP4) Truncated lines in /var/log/pacemaker.log?

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Nov 3 14:29:46 UTC 2016


>>> Ken Gaillot <kgaillot at redhat.com> schrieb am 03.11.2016 um 15:22 in Nachricht
<28483e84-f68c-f97e-e8a9-8daf72d39638 at redhat.com>:
> On 11/03/2016 04:31 AM, Ulrich Windl wrote:
>> Hi!
>> 
>> Looking at /var/log/pacemaker.log I got the impression that lines are 
> truncated at 512 bytes. Is that true, and if so: Why? Pacemaker creates lines 
> longer than that limit.
>> For example a "cib:     info: cib_perform_op:  ++ /cib/status/node_state" 
> usually exceeds that limit.
> 
> Not all messages are truncated. One of our XML loggers truncates long
> XML lines to avoid flooding the logs. In those logs, the XML is just a
> bit of extra debugging detail to get an idea of where it is, so nothing
> is really lost.

If it is so, I'd prefer the lines to be truncated earlier, and that the truncation is being indicated (like with trailing "..." or "|").
Lines shouldn't be wider than my screen ;-)

> 
>> Following some changes I had made, I also found out that when changing the 
> monitoring interval for a resource pacemaker tries to look up a device with 
> that name for stonith. Why that?
>> stonith-ng:     info: stonith_device_remove:   Device 'prm_t11_ascs_ers' not 
> found (2 active devices)
> 
> Yes, that annoys me every time I see it. :) It's at info level to
> indicate it's not a problem of any kind. I forget the exact details, but
> stonithd checks CIB updates for any resource to see whether they affect
> any registered fence devices.
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org 
> http://clusterlabs.org/mailman/listinfo/users 
> 
> Project Home: http://www.clusterlabs.org 
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
> Bugs: http://bugs.clusterlabs.org 








More information about the Users mailing list