From 525f3a6fb48e417cba05996968875c76dd92a3ce Mon Sep 17 00:00:00 2001 From: "Greg A. Woods" Date: Tue, 28 Jan 2025 11:26:54 -0800 Subject: [PATCH] reduce level of string alloc management debug messages String alloc management debug messages are way too noisy and get in the way of more important debugging tasks. --- conserver/cutil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conserver/cutil.c b/conserver/cutil.c index 49abc16..8120108 100644 --- a/conserver/cutil.c +++ b/conserver/cutil.c @@ -262,7 +262,7 @@ DestroyString(STRING *msg) { if (msg->prev == (STRING *)0 && msg->next == (STRING *)0 && allStrings != msg) { - CONDDEBUG((1, "DestroyString(): 0x%lx non-pooled string destroyed", + CONDDEBUG((3, "DestroyString(): 0x%lx non-pooled string destroyed", (void *)msg, stringCount)); } else { if (msg->prev != (STRING *)0) @@ -273,7 +273,7 @@ DestroyString(STRING *msg) allStrings = msg->next; } stringCount--; - CONDDEBUG((1, + CONDDEBUG((3, "DestroyString(): 0x%lx string destroyed (count==%d)", (void *)msg, stringCount)); } @@ -296,7 +296,7 @@ AllocString(void) allStrings = s; InitString(s); stringCount++; - CONDDEBUG((1, "AllocString(): 0x%lx created string #%d", (void *)s, + CONDDEBUG((3, "AllocString(): 0x%lx created string #%d", (void *)s, stringCount)); return s; }