Data Exchange - Format and save traces (config option: synchro_trace)

SVN:trunk[1102]
This commit is contained in:
Romain Quetiez
2011-03-01 16:21:04 +00:00
parent 67f8ddf5a8
commit bddb8b4c92
6 changed files with 143 additions and 53 deletions

View File

@@ -481,13 +481,12 @@ try
//
if ($bSynchronize)
{
$aResults = array();
$oStatLog = $oDataSource->Synchronize($aResults, $oLoadStartDate);
$oStatLog = $oDataSource->Synchronize($oLoadStartDate);
$oP->add_comment('Synchronization---');
$oP->add_comment('------------------');
if ($sOutput == 'details')
{
foreach ($aResults as $sMessage)
foreach ($oStatLog->GetTraces() as $sMessage)
{
$oP->add_comment($sMessage);
}