Update mtp2 loglevels
Alignment loss - wanring Alignment up - info
This commit is contained in:
parent
15fa227699
commit
c260bc4b8a
|
@ -162,10 +162,10 @@ void handle_sng_mtp2_alarm(Pst *pst, SdMngmt *sta)
|
||||||
{
|
{
|
||||||
if ((LSD_EVENT_ALIGN_LOST == sta->t.usta.alarm.event) ||
|
if ((LSD_EVENT_ALIGN_LOST == sta->t.usta.alarm.event) ||
|
||||||
(LSD_EVENT_PROT_ST_DN == sta->t.usta.alarm.event)) {
|
(LSD_EVENT_PROT_ST_DN == sta->t.usta.alarm.event)) {
|
||||||
log_level = FTDM_LOG_LEVEL_ERROR;
|
log_level = FTDM_LOG_LEVEL_WARNING;
|
||||||
} else if ((LSD_EVENT_LINK_ALIGNED == sta->t.usta.alarm.event) ||
|
} else if ((LSD_EVENT_LINK_ALIGNED == sta->t.usta.alarm.event) ||
|
||||||
(LSD_EVENT_PROT_ST_UP == sta->t.usta.alarm.event)){
|
(LSD_EVENT_PROT_ST_UP == sta->t.usta.alarm.event)){
|
||||||
log_level = FTDM_LOG_LEVEL_DEBUG;
|
log_level = FTDM_LOG_LEVEL_INFO;
|
||||||
} else {
|
} else {
|
||||||
log_level = FTDM_LOG_LEVEL_WARNING;
|
log_level = FTDM_LOG_LEVEL_WARNING;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue