From: Florin Coras Date: Tue, 11 Apr 2023 03:44:26 +0000 (-0700) Subject: vlib dhcp: default to logging without elogs X-Git-Tag: v23.10-rc0~90 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=6bec05b56dde182e4427f567828a6954a3a34995;p=vpp.git vlib dhcp: default to logging without elogs Some components, like dhcp, log constantly changing strings which in turn forces elog string table to grow unbound. To avoid this, as a workaround, only turn on elog logging if requested. Actual fix that adds configuration for logging subclasses should come in a later patch. Type: improvement Signed-off-by: Florin Coras Change-Id: Ie8b26251fb7115d866c2bd65353daa33cdab1ab6 --- diff --git a/src/vlib/log.c b/src/vlib/log.c index f176062fd0c..341f8095106 100644 --- a/src/vlib/log.c +++ b/src/vlib/log.c @@ -25,7 +25,7 @@ vlib_log_main_t log_main = { .default_syslog_log_level = VLIB_LOG_LEVEL_WARNING, .unthrottle_time = 3, .size = 512, - .add_to_elog = 1, + .add_to_elog = 0, .default_rate_limit = 50, };