From: Donald Sharp Date: Tue, 1 Dec 2020 00:37:53 +0000 (-0500) Subject: zebra: Reduce warn -> debug X-Git-Tag: base_7.6~168^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=34c9b28ba8af49749864bdafb36db41519249c5b;p=matthieu%2Ffrr.git zebra: Reduce warn -> debug During times of network trauma and when we are at large network scale the process_remote_macip_add function can issue a zlog_warn for a common occurrence. Modify the code to be a debug statement. This behavior is the same now as the process_remote_macip_del function Signed-off-by: Donald Sharp --- diff --git a/zebra/zebra_evpn.c b/zebra/zebra_evpn.c index 6722af117c..67df841b21 100644 --- a/zebra/zebra_evpn.c +++ b/zebra/zebra_evpn.c @@ -1364,7 +1364,8 @@ void process_remote_macip_add(vni_t vni, struct ethaddr *macaddr, /* Locate EVPN hash entry - expected to exist. */ zevpn = zebra_evpn_lookup(vni); if (!zevpn) { - zlog_warn("Unknown VNI %u upon remote MACIP ADD", vni); + if (IS_ZEBRA_DEBUG_VXLAN) + zlog_debug("Unknown VNI %u upon remote MACIP ADD", vni); return; }