From 2402f5a7a1bd6f501cc630effc17801a0c44bf18 Mon Sep 17 00:00:00 2001 From: Madelyn Olson <34459052+madolson@users.noreply.github.com> Date: Thu, 12 Aug 2021 14:50:09 -0700 Subject: [PATCH] Update cluster debug log to include human readable packet type (#9361) --- src/cluster.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cluster.c b/src/cluster.c index 9bc33f493..e651d0c66 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1786,8 +1786,8 @@ int clusterProcessPacket(clusterLink *link) { if (type < CLUSTERMSG_TYPE_COUNT) server.cluster->stats_bus_messages_received[type]++; - serverLog(LL_DEBUG,"--- Processing packet of type %d, %lu bytes", - type, (unsigned long) totlen); + serverLog(LL_DEBUG,"--- Processing packet of type %s, %lu bytes", + clusterGetMessageTypeString(type), (unsigned long) totlen); /* Perform sanity checks */ if (totlen < 16) return 1; /* At least signature, version, totlen, count. */