Move debug msg to msg+detail, only msg length in debug level msg

Move log warning of namespace mismatch to debug
This commit is contained in:
Olof hagsand 2024-09-27 14:45:08 +02:00
parent 1994a405dd
commit ba40f5a929
4 changed files with 36 additions and 16 deletions

View file

@ -476,7 +476,8 @@ netconf_input_cb(int s,
cbmsg = NULL;
break;
}
clixon_debug(CLIXON_DBG_MSG, "Recv ext: %s", cbuf_get(cbmsg));
clixon_debug(CLIXON_DBG_MSG, "Recv ext len: %lu", cbuf_len(cbmsg));
clixon_debug(CLIXON_DBG_MSG | CLIXON_DBG_DETAIL, "Recv ext: %s", cbuf_get(cbmsg));
if ((ret = netconf_input_frame2(cbmsg, YB_RPC, yspec, &xtop, &xerr)) < 0)
goto done;
cbuf_reset(cbmsg);