]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Update mtp2 loglevels
authorNenad Corbic <ncorbic@sangoma.com>
Wed, 5 Sep 2012 22:03:08 +0000 (18:03 -0400)
committerNenad Corbic <ncorbic@sangoma.com>
Wed, 5 Sep 2012 22:03:08 +0000 (18:03 -0400)
Alignment loss - wanring
Alignment up - info

libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_logger.c

index 7ea447f739b927c3643cebe370c89baa99d3b8b8..987449069ecf592e34a4d9c299cab704cc9efdea 100644 (file)
@@ -162,10 +162,10 @@ void handle_sng_mtp2_alarm(Pst *pst, SdMngmt *sta)
                                {
                                        if ((LSD_EVENT_ALIGN_LOST == 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) ||
                                                      (LSD_EVENT_PROT_ST_UP == sta->t.usta.alarm.event)){
-                                               log_level = FTDM_LOG_LEVEL_DEBUG;
+                                               log_level = FTDM_LOG_LEVEL_INFO;
                                        } else {
                                                log_level = FTDM_LOG_LEVEL_WARNING;
                                        }