Skip to content

Commit 8507629

Browse files
zjswhhhqiluo-msft
authored andcommitted
Lower unsolicited MUX state change notification log level to WARNING #57
### Description of PR Summary: Fixes # (issue) Stemming from sonic-mgmt issue: sonic-net/sonic-mgmt#5410 This is PR to lower log level of message `unsolicited MUX state change notification`. sign-off: Jing Zhang [email protected]
1 parent 17d217d commit 8507629

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/link_manager/LinkManagerStateMachine.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ void LinkManagerStateMachine::handleProbeMuxStateNotification(mux_state::MuxStat
665665

666666
if (mComponentInitState.all()) {
667667
if (mMuxStateMachine.getWaitStateCause() != mux_state::WaitState::WaitStateCause::DriverUpdate) {
668-
MUXLOGERROR(boost::format("%s: Received unsolicited MUX state probe notification!") %
668+
MUXLOGWARNING(boost::format("%s: Received unsolicited MUX state probe notification!") %
669669
mMuxPortConfig.getPortName()
670670
);
671671
}
@@ -707,7 +707,7 @@ void LinkManagerStateMachine::handleMuxStateNotification(mux_state::MuxState::La
707707
if (mComponentInitState.all()) {
708708
if (mMuxStateMachine.getWaitStateCause() != mux_state::WaitState::WaitStateCause::SwssUpdate ||
709709
ms(mCompositeState) != mux_state::MuxState::Wait) {
710-
MUXLOGERROR(boost::format("%s: Received unsolicited MUX state change notification!") %
710+
MUXLOGWARNING(boost::format("%s: Received unsolicited MUX state change notification!") %
711711
mMuxPortConfig.getPortName()
712712
);
713713
}

0 commit comments

Comments
 (0)