Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion vslib/src/MACsecManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,10 @@ void MACsecManager::cleanup_macsec_device() const

if (!exec("/sbin/ip macsec show", macsecInfos))
{
SWSS_LOG_THROW("Cannot show MACsec ports");
// this is workaround, there was exception thrown here, and it probably
// suggest that, ip command is in place, but don't support "macsec"
SWSS_LOG_ERROR("Cannot show MACsec ports");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this will block log analyzer, better to change to notice level.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what log analyzer ? out internal ? do you propose warning ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the log analyzer in sonic-mgmt repo, it will report error when it does the vsimage check, warning should be fine.

return;
}

// Here is an example of MACsec device informations
Expand Down