Discriminate YANG debugging

This commit is contained in:
Philip Prindeville 2024-01-04 11:25:14 -07:00 committed by Olof Hagsand
parent 20b233e96f
commit cb134875f9
8 changed files with 20 additions and 20 deletions

View file

@ -162,7 +162,7 @@ yang_mount_get(yang_stmt *y,
cvec *cvv;
cg_var *cv;
clixon_debug(CLIXON_DBG_DETAIL, "%s %s %p", __FUNCTION__, xpath, y);
clixon_debug(CLIXON_DBG_YANG | CLIXON_DBG_DETAIL, "%s %s %p", __FUNCTION__, xpath, y);
/* Special value in yang unknown node for mount-points: mapping from xpath->mounted yspec */
if ((cvv = yang_cvec_get(y)) != NULL &&
(cv = cvec_find(cvv, xpath)) != NULL &&
@ -194,7 +194,7 @@ yang_mount_set(yang_stmt *y,
cg_var *cv;
cg_var *cv2;
clixon_debug(CLIXON_DBG_DEFAULT, "%s %s %p", __FUNCTION__, xpath, y);
clixon_debug(CLIXON_DBG_YANG, "%s %s %p", __FUNCTION__, xpath, y);
if ((cvv = yang_cvec_get(y)) != NULL &&
(cv = cvec_find(cvv, xpath)) != NULL &&
(yspec0 = cv_void_get(cv)) != NULL){