Skip to content

Commit

Permalink
Changed Error log to Notice log during FDB flush notification after V…
Browse files Browse the repository at this point in the history
…LAN delete (sonic-net#1618)

Modified SWSS error log to Notice log during FDB flush notification after VLAN delete

Co-authored-by: Madhan Babu <madhan@l-csi-0241l.mtl.labs.mlnx>
  • Loading branch information
madhanmellanox and Madhan Babu committed Jan 29, 2021
1 parent 832815e commit 288fb40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orchagent/fdborch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ void FdbOrch::update(sai_fdb_event_t type,

if (!m_portsOrch->getPort(entry->bv_id, vlan))
{
SWSS_LOG_NOTICE("FdbOrch LEARN notification: Failed to locate vlan port from bv_id 0x%" PRIx64, entry->bv_id);
SWSS_LOG_ERROR("FdbOrch LEARN notification: Failed to locate vlan port from bv_id 0x%" PRIx64, entry->bv_id);
return;
}

Expand Down Expand Up @@ -357,7 +357,7 @@ void FdbOrch::update(sai_fdb_event_t type,

if (!m_portsOrch->getPort(entry->bv_id, vlan))
{
SWSS_LOG_ERROR("FdbOrch notification: Failed to locate vlan\
SWSS_LOG_NOTICE("FdbOrch notification: Failed to locate vlan\
port from bv_id 0x%" PRIx64, entry->bv_id);
return;
}
Expand Down

0 comments on commit 288fb40

Please sign in to comment.