feat: combine log entries into single sum-up entry
This commit is contained in:
1 parent
6f07678f04
commit
96321005e0
1 file changed
+2
-1
@@ -142,7 +142,6 @@ class BpnXmlSyncCommand extends Command
|
||||
);
|
||||
|
||||
$io->progressFinish();
|
||||
$this->logger->info('Travel snapshot XML sync triggered by xml-sync command', $snapshotResult);
|
||||
}
|
||||
|
||||
$successMessage = sprintf('Sync complete: %d files updated, %d files deleted', $syncResult['updated'], $syncResult['deleted']);
|
||||
@@ -153,6 +152,8 @@ class BpnXmlSyncCommand extends Command
|
||||
$this->logger->info('XML sync completed', [
|
||||
'files_updated' => $syncResult['updated'],
|
||||
'files_deleted' => $syncResult['deleted'],
|
||||
'snapshots_processed' => $snapshotResult['processed'] ?? null,
|
||||
'snapshots_failed' => $snapshotResult['failed'] ?? null,
|
||||
'remote_timestamp' => $remoteInfo->lastTransfer->format('c'),
|
||||
]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user