sonic-net / sonic-swss

SONiC Switch State Service (SwSS)
https://azure.github.io/SONiC
Other
175 stars 525 forks source link

Reduce log verbosity when the capability is not implemented #3240

Closed vivekrnv closed 3 months ago

vivekrnv commented 3 months ago

Why I did

SAI_SWITCH_ATTR_SUPPORTED_OBJECT_TYPE_LIST is not a mandatory attribute and is not supported in some platforms.

There is an error log seen for such platforms. Reduce noise by changing the verbosity to INFO.

How I verified it

Details if related

vivekrnv commented 3 months ago

@cscarpitta @prsunny Please review

dgsudharsan commented 3 months ago

@bingwang-ms Can you please help to cherry-pick this fix to 202405?

bingwang-ms commented 2 months ago

@prsunny FYI

mssonicbld commented 2 months ago

Cherry-pick PR to 202405: https://github.com/sonic-net/sonic-swss/pull/3261