vlib dhcp: default to logging without elogs 22/38622/3
authorFlorin Coras <fcoras@cisco.com>
Tue, 11 Apr 2023 03:44:26 +0000 (20:44 -0700)
committerDave Barach <vpp@barachs.net>
Wed, 12 Apr 2023 21:49:15 +0000 (21:49 +0000)
commit6bec05b56dde182e4427f567828a6954a3a34995
tree22d82a064c7d264fd0cadb2444a6ad125d10f9de
parentfeb77422a3435f4fd25c3a6e12df1bb9526b342a
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
src/vlib/log.c