aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-04-10 20:44:26 -0700
committerDave Barach <vpp@barachs.net>2023-04-12 21:49:15 +0000
commit6bec05b56dde182e4427f567828a6954a3a34995 (patch)
tree22d82a064c7d264fd0cadb2444a6ad125d10f9de /src
parentfeb77422a3435f4fd25c3a6e12df1bb9526b342a (diff)
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 <fcoras@cisco.com> Change-Id: Ie8b26251fb7115d866c2bd65353daa33cdab1ab6
Diffstat (limited to 'src')
-rw-r--r--src/vlib/log.c2
1 files changed, 1 insertions, 1 deletions
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,
};