xml rm self, debug backend, xml2json to cbuf

This commit is contained in:
Olof Hagsand 2016-08-07 15:42:14 +02:00
parent 8bf95cab31
commit 20087932c5
9 changed files with 138 additions and 39 deletions

View file

@ -624,11 +624,14 @@ from_client_debug(clicon_handle h,
goto done;
}
clicon_debug_init(level, NULL); /* 0: dont debug, 1:debug */
setlogmask(LOG_UPTO(level?LOG_DEBUG:LOG_INFO)); /* for syslog */
if (send_msg_ok(s) < 0)
goto done;
clicon_log(LOG_NOTICE, "%s debug:%d", __FUNCTION__, debug);
retval = 0;
done:
return retval;
}