From 7e49c9f57ce23cefe98f0655c502277e12e2a8b8 Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Tue, 13 Dec 2005 22:56:01 +0000 Subject: some logging becomes INFO git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@107 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkaudio/audiocaptureplugins/voip/RtpSession.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'orkaudio') diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp index 5a7a455..e7e9d4c 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp @@ -47,7 +47,7 @@ void RtpSession::Stop() { if(m_started) { - LOG4CXX_DEBUG(m_log, m_capturePort + " Session stop"); + LOG4CXX_INFO(m_log, m_capturePort + " Session stop"); CaptureEventRef stopEvent(new CaptureEvent); stopEvent->m_type = CaptureEvent::EtStop; stopEvent->m_timestamp = time(NULL); @@ -58,7 +58,7 @@ void RtpSession::Stop() void RtpSession::Start() { m_started = true; - LOG4CXX_DEBUG(m_log, m_capturePort + " " + ProtocolToString(m_protocol) + " Session start"); + LOG4CXX_INFO(m_log, m_capturePort + " " + ProtocolToString(m_protocol) + " Session start"); m_rtpRingBuffer.SetCapturePort(m_capturePort); CaptureEventRef startEvent(new CaptureEvent); startEvent->m_type = CaptureEvent::EtStart; @@ -601,13 +601,13 @@ void RtpSessions::ReportRtpPacket(RtpPacketInfoRef& rtpPacket) mergerSession = session2; mergeeSession = session1; } - if(m_log->isDebugEnabled()) + if(m_log->isInfoEnabled()) { CStdString debug; debug.Format("Merging session % with callid:%s into session %s with callid:%s", mergeeSession->m_ipAndPort, mergeeSession->m_callId, mergerSession->m_ipAndPort, mergerSession->m_callId); - LOG4CXX_DEBUG(m_log, debug); + LOG4CXX_INFO(m_log, debug); } Stop(mergeeSession); } -- cgit v1.2.3