summaryrefslogtreecommitdiff
path: root/tests/lib/cli/common_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/cli/common_cli.c')
-rw-r--r--tests/lib/cli/common_cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c
index 8be81cc4cb..7c9febe2ca 100644
--- a/tests/lib/cli/common_cli.c
+++ b/tests/lib/cli/common_cli.c
@@ -60,6 +60,7 @@ static void vty_do_exit(int isexit)
}
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)
@@ -73,7 +74,7 @@ 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);