Skip to content

Commit 629bd12

Browse files
vasant17Vasant Patil
andauthored
Change log level from warning/error to debug to avoid rsyslog freeze (sonic-net#7)
* Change log level from warning/error to debug to avoid running into rsyslog freeze due to execessive logging * Addressed code-review comments Co-authored-by: Vasant Patil <[email protected]>
1 parent 13e21d9 commit 629bd12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vslib/src/sai_vs_generic_get.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ sai_status_t internal_vs_generic_get(
107107

108108
if (status != SAI_STATUS_SUCCESS)
109109
{
110-
SWSS_LOG_ERROR("%s read only not implemented on %s",
110+
SWSS_LOG_INFO("%s read only not implemented on %s",
111111
meta->attridname,
112112
serialized_object_id.c_str());
113113

@@ -119,7 +119,7 @@ sai_status_t internal_vs_generic_get(
119119

120120
if (ait == attrHash.end())
121121
{
122-
SWSS_LOG_ERROR("%s not implemented on %s",
122+
SWSS_LOG_INFO("%s not implemented on %s",
123123
meta->attridname,
124124
serialized_object_id.c_str());
125125

0 commit comments

Comments
 (0)