aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/main.c')
-rw-r--r--src/vlib/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vlib/main.c b/src/vlib/main.c
index 6d241bd18bb..874f6a1350b 100644
--- a/src/vlib/main.c
+++ b/src/vlib/main.c
@@ -1887,6 +1887,12 @@ vlib_main (vlib_main_t * volatile vm, unformat_input_t * input)
goto done;
}
+ if ((error = vlib_log_init (vm)))
+ {
+ clib_error_report (error);
+ goto done;
+ }
+
if ((error = vlib_stats_init (vm)))
{
clib_error_report (error);