Debug messages
* Added cli command debug printf on debug level 1 * Moved all parse debug printfs to level 3
This commit is contained in:
parent
5b5dce7e39
commit
8f8b49331f
10 changed files with 682 additions and 677 deletions
|
|
@ -584,6 +584,8 @@ clicon_parse(clicon_handle h,
|
|||
}
|
||||
if (cliread_parse(cli_cligen(h), cmd, pt, &match_obj, cvv, result, &reason) < 0)
|
||||
goto done;
|
||||
/* Debug command and result code */
|
||||
clicon_debug(1, "%s result:%d command: \"%s\"", __FUNCTION__, *result, cmd);
|
||||
if (*result != CG_MATCH)
|
||||
pt_expand_cleanup(pt); /* XXX change to pt_expand_treeref_cleanup */
|
||||
if (modename0){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue