Print the count of forcibly finalized records before doing it as it may take a long time to complete.

git-svn-id: http://voip.null.ro/svn/yate@2825 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2009-09-07 21:22:33 +00:00
parent 6857c9b34b
commit 58ea5179a6
1 changed files with 2 additions and 2 deletions

View File

@ -395,9 +395,9 @@ bool CdrHandler::received(Message &msg)
Lock lock(s_mutex);
if (m_type == EngHalt) {
unsigned int n = s_cdrs.count();
s_cdrs.clear();
if (n)
Debug("cdrbuild",DebugWarn,"Forcibly finalized %u CDR records.",n);
Debug("cdrbuild",DebugWarn,"Forcibly finalizing %u CDR records.",n);
s_cdrs.clear();
return false;
}
bool track = true;