Skip to content

Commit c819dc7

Browse files
vasant17Vasant Patil
authored andcommitted
Change log level for not implemented port attributes and skipped mac learning (sonic-net#610)
Due to execessive logging we were observing that, orchagent or syncd or bot get stuck in send() system call of logging. This was happening because rsyslog was NOT reading from socket buffer. Verified this by sending SIGSTOP and SIGCONT to rsyslogd. This problem happened everytime we ran Dynamic Port Brteakout scale test case. (test_port_dpb.py) Co-authored-by: Vasant Patil <[email protected]>
1 parent d12646c commit c819dc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vslib/src/SwitchStateBase.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ sai_status_t SwitchStateBase::get(
557557

558558
if (status != SAI_STATUS_SUCCESS)
559559
{
560-
SWSS_LOG_ERROR("%s read only not implemented on %s",
560+
SWSS_LOG_INFO("%s read only not implemented on %s",
561561
meta->attridname,
562562
serializedObjectId.c_str());
563563

@@ -569,7 +569,7 @@ sai_status_t SwitchStateBase::get(
569569

570570
if (ait == attrHash.end())
571571
{
572-
SWSS_LOG_ERROR("%s not implemented on %s",
572+
SWSS_LOG_INFO("%s not implemented on %s",
573573
meta->attridname,
574574
serializedObjectId.c_str());
575575

0 commit comments

Comments
 (0)