diff options
author | Henri Herscher <henri@oreka.org> | 2008-06-13 16:24:18 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2008-06-13 16:24:18 +0000 |
commit | 70e68d786574bc217c30e44e02fd6b11898e2acf (patch) | |
tree | eed01083a01bc2d881180df0360b77874c59a211 /orkaudio/audiocaptureplugins/voip/RtpSession.cpp | |
parent | 2617fbea5ba138b69a68f832ff6146274e580f2c (diff) |
RTP stream start and expiry logging now includes host timestamps.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@547 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/RtpSession.cpp')
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/RtpSession.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp index e1309dd..208e161 100644 --- a/orkaudio/audiocaptureplugins/voip/RtpSession.cpp +++ b/orkaudio/audiocaptureplugins/voip/RtpSession.cpp @@ -2014,7 +2014,9 @@ void RtpSessions::Hoover(time_t now) for (std::list<RtpSessionRef>::iterator it = toDismiss.begin(); it != toDismiss.end() ; it++) { RtpSessionRef session = *it; - LOG4CXX_INFO(m_log, "[" + session->m_trackingId + "] " + session->m_ipAndPort + " Expired"); + CStdString logMsg; + logMsg.Format("[%s] %s Expired (RTP) ts:%u", session->m_trackingId, session->m_ipAndPort, session->m_lastUpdated); + LOG4CXX_INFO(m_log, logMsg); Stop(session); } @@ -2054,7 +2056,8 @@ void RtpSessions::Hoover(time_t now) for (std::list<RtpSessionRef>::iterator it2 = toDismiss.begin(); it2 != toDismiss.end() ; it2++) { RtpSessionRef session = *it2; - LOG4CXX_INFO(m_log, "[" + session->m_trackingId + "] " + session->m_ipAndPort + " Expired"); + CStdString logMsg; + logMsg.Format("[%s] %s Expired (CallID) ts:%u", session->m_trackingId, session->m_ipAndPort, session->m_lastUpdated); Stop(session); } } |