Add debug trunc flags for parsing and message

This commit is contained in:
Olof hagsand 2025-02-17 09:05:37 +01:00
parent 7394958453
commit 9df084958e
12 changed files with 61 additions and 26 deletions

View file

@ -2299,7 +2299,7 @@ netconf_output(int s,
if (clixon_debug_detail())
clixon_debug(CLIXON_DBG_MSG | CLIXON_DBG_DETAIL, "Send ext: %s", cbuf_get(cb));
else
clixon_debug(CLIXON_DBG_MSG, "Send ext len: %lu", cbuf_len(cb));
clixon_debug(CLIXON_DBG_MSG | CLIXON_DBG_TRUNC, "Send ext: %s", cbuf_get(cb));
#if 0 // Extra sanity check for debugging
{
cxobj *xt = NULL;