Commit c948abc6 authored by jehan's avatar jehan

switch trace level to debug for traces involved at each received keep alive messages

parent 4453910c
......@@ -164,7 +164,7 @@ int belle_sip_channel_process_data(belle_sip_channel_t *obj,unsigned int revents
}
obj->input_stream.state=MESSAGE_AQUISITION;
} else {
belle_sip_warning("Unexpected [%s] received on channel [%p], trashing",obj->input_stream.read_ptr,obj);
belle_sip_debug("Unexpected [%s] received on channel [%p], trashing",obj->input_stream.read_ptr,obj);
belle_sip_channel_input_stream_reset(&obj->input_stream,0);
}
}
......
......@@ -100,7 +100,7 @@ static int on_udp_data(belle_sip_udp_listening_point_t *lp, unsigned int events)
socklen_t addrlen=sizeof(addr);
if (events & BELLE_SIP_EVENT_READ){
belle_sip_message("udp_listening_point: data to read.");
belle_sip_debug("udp_listening_point: data to read.");
err=recvfrom(lp->sock,(char*)buf,sizeof(buf),MSG_PEEK,(struct sockaddr*)&addr,&addrlen);
if (err==-1){
belle_sip_error("udp_listening_point: recvfrom() failed: %s",belle_sip_get_socket_error_string());
......@@ -126,7 +126,7 @@ static int on_udp_data(belle_sip_udp_listening_point_t *lp, unsigned int events)
}
if (chan){
/*notify the channel*/
belle_sip_message("Notifying udp channel, local [%s:%i] remote [%s:%i]",chan->local_ip
belle_sip_debug("Notifying udp channel, local [%s:%i] remote [%s:%i]",chan->local_ip
,chan->local_port
,chan->peer_name
,chan->peer_port);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment