]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
changing logtype from error to info for couple of logging prints
authorKapil Gupta <kgupta@sangoma.com>
Thu, 6 Sep 2012 18:31:28 +0000 (14:31 -0400)
committerKapil Gupta <kgupta@sangoma.com>
Thu, 6 Sep 2012 18:31:28 +0000 (14:31 -0400)
src/mod/endpoints/mod_media_gateway/media_gateway_cmd_handler.c

index 1268660d82ff304abd3ea1cd149c4213ffee1550..f2673ac0c2891c5337eaf83baa9c55aaa7321544 100644 (file)
@@ -63,8 +63,6 @@ switch_status_t mg_is_ito_pkg_req(megaco_profile_t* mg_profile, MgMgcoCommand *c
     int                  descId = 0x00;
     MgMgcoAmmReq* desc = NULL;
 
-    switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,"cmd->cmdType.val[%d]\n",cmd->cmdType.val);
-
     if(CH_CMD_TYPE_IND != cmd->cmdType.val)
         return SWITCH_STATUS_FALSE;
 
@@ -103,7 +101,7 @@ switch_status_t mg_is_ito_pkg_req(megaco_profile_t* mg_profile, MgMgcoCommand *c
 
                     /* As of now only handling ito package */
 
-                    switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR," Requested Event descriptor\n");
+                    switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO," Requested Event descriptor\n");
 
                     if (evts->el.num.pres)
                         numEvts = evts->el.num.val;
@@ -1043,7 +1041,7 @@ switch_status_t handle_mg_modify_cmd(megaco_profile_t* mg_profile, MgMgcoCommand
                }
 
                if(MG_TERM_RTP == term->type){
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,"MODIFY REQUEST - Updated RTP attributes:"
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO,"MODIFY REQUEST - Updated RTP attributes:"
                                        " Media_Type(%s),local_addr[%s] local_port[%d] remote_addr[%s], remote_port[%d], ptime[%d] pt[%d], "
                                        " rfc2833_pt[%d] rate[%d], codec[%s], term_id[%d]\n",
                                        mg_media_type2str(term->u.rtp.media_type),