Skip to content

Commit be3d318

Browse files
committed
Change the log severity leve from ERROR to NOTICE if getStatus is not supported by vendor (sonic-net#908)
1 parent ac243b0 commit be3d318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syncd/Syncd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ sai_status_t Syncd::processGetStatsEvent(
705705

706706
if (status != SAI_STATUS_SUCCESS)
707707
{
708-
SWSS_LOG_ERROR("Failed to get stats");
708+
SWSS_LOG_NOTICE("Getting stats error: %s", sai_serialize_status(status).c_str());
709709
}
710710
else
711711
{

0 commit comments

Comments
 (0)