<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 11, 2021 at 12:17 PM Ken Gaillot <<a href="mailto:kgaillot@redhat.com">kgaillot@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Pacemaker doesn't currently support it, sorry. It should be pretty easy<br>
to add though (when built with libqb 2), so hopefully we can get it in<br>
2.1.0.<br>
<br>
Of course Pacemaker has always supported logging via syslog, and syslog<br>
can be configured to use high-res timestamps, so that's a workaround.<br>
<br>
Does anyone have a strong opinion regarding using high-res timestamps<br>
in the Pacemaker detail log whenever supported, vs adding a new<br>
sysconfig option for it? I feel like we have a ridiculous number of<br>
options already, and the detail log is expected to be verbose.<br></blockquote><div><br></div><div>Not a **strong** opinion, but I'm in favor of it as a member of the support team. If time is in sync across cluster nodes, then millisecond logs could provide some clearer insight into some of the weirder timing issues that I've shown you (e.g., involving CIB sync after a network issue).<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On Mon, 2021-01-11 at 19:12 +0000, Gerry R Sommerville wrote:<br>
> Hello,<br>
> <br>
> I am wondering if it is possible to configure high resolution<br>
> timestamps (including milliseconds) in the pacemaker.log? I was able<br>
> to get hi-res timestamps in the corosync.log by adding 'timestamp:<br>
> hires' under the logging directive in corosync.conf. I was hoping<br>
> Pacemaker has something similar but I don't see anything in<br>
> '/etc/sysconfig/pacemaker' or the Pacemaker documentation regarding<br>
> hi-res timestamps.<br>
>  <br>
> Gerry Sommerville<br>
> Db2 Development, pureScale Domain<br>
> E-mail: <a href="mailto:gerry@ca.ibm.com" target="_blank">gerry@ca.ibm.com</a><br>
-- <br>
Ken Gaillot <<a href="mailto:kgaillot@redhat.com" target="_blank">kgaillot@redhat.com</a>><br>
<br>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Regards,<br><br></div>Reid Wahl, RHCA<br></div><div>Senior Software Maintenance Engineer, Red Hat<br></div>CEE - Platform Support Delivery - ClusterHA</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>