common_cli.c disables logging by default so stdio is usable as vty
without log messages getting strewn inbetween. This the right thing for
most tests, but not all; sometimes we do want log messages.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
}
const struct frr_yang_module_info *const *test_yang_modules = NULL;
+int test_log_prio = ZLOG_DISABLED;
/* main routine. */
int main(int argc, char **argv)
/* master init. */
master = thread_master_create(NULL);
- zlog_aux_init("NONE: ", ZLOG_DISABLED);
+ zlog_aux_init("NONE: ", test_log_prio);
/* Library inits. */
cmd_init(1);
*/
extern struct thread_master *master;
+extern int test_log_prio;
+
extern int dump_args(struct vty *vty, const char *descr, int argc,
struct cmd_token *argv[]);