From cf6c05e33dd74608c36ca6f31378a50e78a6599c Mon Sep 17 00:00:00 2001 From: Tristan Matthews <le.businessman@gmail.com> Date: Sat, 28 Apr 2012 17:53:12 -0400 Subject: [PATCH] * #9832: cleanup logging --- .../audio/audiortp/audio_symmetric_rtp_session.cpp | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/daemon/src/audio/audiortp/audio_symmetric_rtp_session.cpp b/daemon/src/audio/audiortp/audio_symmetric_rtp_session.cpp index ee5e3a53b3..559c657805 100644 --- a/daemon/src/audio/audiortp/audio_symmetric_rtp_session.cpp +++ b/daemon/src/audio/audiortp/audio_symmetric_rtp_session.cpp @@ -32,13 +32,9 @@ * as that of the covered work. */ -#include "audio_rtp_session.h" #include "audio_symmetric_rtp_session.h" -#include "audio_rtp_record_handler.h" #include "logger.h" -#include "sip/sdp.h" #include "sip/sipcall.h" -#include "audio/audiolayer.h" namespace sfl { @@ -48,7 +44,8 @@ AudioSymmetricRtpSession::AudioSymmetricRtpSession(SIPCall &call) : , AudioRtpSession(call, *this, *this) , rtpThread_(*this) { - DEBUG("AudioSymmetricRtpSession: Setting new RTP session with destination %s:%d", call_.getLocalIp().c_str(), call_.getLocalAudioPort()); + DEBUG("Setting new RTP session with destination %s:%d", + call_.getLocalIp().c_str(), call_.getLocalAudioPort()); audioRtpRecord_.callId_ = call_.getCallId(); } @@ -69,7 +66,7 @@ void AudioSymmetricRtpSession::AudioRtpThread::run() TimerPort::setTimer(threadSleep); - DEBUG("AudioRtpThread: Entering Audio rtp thread main loop"); + DEBUG("Entering Audio rtp thread main loop"); while (running_) { // Send session @@ -83,7 +80,7 @@ void AudioSymmetricRtpSession::AudioRtpThread::run() TimerPort::incTimer(threadSleep); } - DEBUG("AudioRtpThread: Leaving audio rtp thread loop"); + DEBUG("Leaving audio rtp thread loop"); } void AudioSymmetricRtpSession::setSessionMedia(AudioCodec &audioCodec) @@ -94,12 +91,11 @@ void AudioSymmetricRtpSession::setSessionMedia(AudioCodec &audioCodec) int AudioSymmetricRtpSession::startRtpThread(AudioCodec &audiocodec) { - DEBUG("AudioSymmetricRtpSession: Starting main thread"); + DEBUG("Starting main thread"); if (isStarted_) return 0; AudioRtpSession::startRtpThread(audiocodec); return startSymmetricRtpThread(); } - } -- GitLab