mirror_corosync/vqsim
Jan Friesse 5731af2782 logging: Add CS_PRI_NODE_ID and CS_PRI_RING_ID
Previously node id was logged ether as a %d (most often), %u, %x or
PRI.32 and ring id ether as %lld, %llx with various separators (., :, /)
between rep nodeid and seq. This seems to cause confusion.

This patch adds macros CS_PRI_NODE_ID, CS_PRI_RING_ID and
CS_PRI_RING_ID_SEQ (CS prefix = corosync, PRI modeled in spirit of
inttypes.h PRIx32) and makes code use them.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
2019-07-03 10:53:52 +02:00
..
.gitignore vqsim: Fix gitignore 2019-07-02 10:34:08 +02:00
Makefile.am vqsim: Enhance vqsim 2019-05-13 11:04:24 +02:00
parser.c vqsim: Do not access unitialized argv[0] 2019-06-12 15:40:51 +02:00
vq_object.c vqsim: Add Quorum simulator program 2016-10-13 14:21:04 +01:00
vqmain.c logging: Add CS_PRI_NODE_ID and CS_PRI_RING_ID 2019-07-03 10:53:52 +02:00
vqsim_vq_engine.c logging: Add CS_PRI_NODE_ID and CS_PRI_RING_ID 2019-07-03 10:53:52 +02:00
vqsim.h vqsim: Enhance vqsim 2019-05-13 11:04:24 +02:00