From 06d82260d9913dbb6be98aef00830ef4967b1f55 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Wed, 21 Oct 2020 12:43:40 +0200 Subject: vlib: print logs to stderr if interactive or nosyslog set If VPP is started in interactive mode, instead of sending logs to syslog server we print them directly to stderr. Output is colorized, but that can be turned off with unix { nocolor } Type: improvement Change-Id: I9a0f0803e4cba2849a6efa0b6a86b9614ed33ced Signed-off-by: Damjan Marion --- src/plugins/dpdk/device/dpdk.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/dpdk/device/dpdk.h') diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h index 94842a56397..b094a1931cf 100644 --- a/src/plugins/dpdk/device/dpdk.h +++ b/src/plugins/dpdk/device/dpdk.h @@ -346,6 +346,8 @@ typedef struct /* logging */ vlib_log_class_t log_default; + vlib_log_class_t log_cryptodev; + vlib_log_class_t log_ipsec; } dpdk_main_t; extern dpdk_main_t dpdk_main; -- cgit 1.2.3-korg