From 66f4da224fbc52958cd9d204823fbc213e08b96e Mon Sep 17 00:00:00 2001 From: Paul Lancaster Date: Sat, 12 Oct 2024 15:41:24 +0100 Subject: [PATCH] Successful event count --- src/training-sheets/legacy-training-import.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/training-sheets/legacy-training-import.ts b/src/training-sheets/legacy-training-import.ts index 64df2eee..05590fd3 100644 --- a/src/training-sheets/legacy-training-import.ts +++ b/src/training-sheets/legacy-training-import.ts @@ -251,7 +251,11 @@ export const legacyTrainingImport = async (conf: Config, deps: ImportDeps) => { }); } - deps.logger.info('Successful events:'); + deps.logger.info( + 'Successful events: %s out of %s rows', + newEvents.length, + sheetData.right.sheets[0].data[0].rowData.length + ); for (const newEvent of newEvents) { if (Math.random() < 0.01) { deps.logger.info(newEvent);