git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11057
d0543943-73ff-0310-b7d9-
9358b9ac24b2
goto end;
}
+
+ if (!strncasecmp(cmd, "debug", 5)){
+ int tmp_debug = atoi(cmd+6);
+ if (tmp_debug > -1 && tmp_debug < 8){
+ esl_global_set_default_logger(tmp_debug);
+ printf("fs_cli debug level set to %d\n", tmp_debug);
+ } else {
+ printf("fs_cli debug level must be 0 - 7\n");
+ }
+ goto end;
+ }
printf("Unknown command [%s]\n", cmd);
} else {