From 2c9cff040d473773ce2ee7ab6ced2fbaa06b72ee Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Mon, 16 Dec 2024 20:16:08 +0530 Subject: [PATCH] [desktop] Include the disk file count in the export logs --- web/apps/photos/src/services/export/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/apps/photos/src/services/export/index.ts b/web/apps/photos/src/services/export/index.ts index e61f186421..76b0c287c7 100644 --- a/web/apps/photos/src/services/export/index.ts +++ b/web/apps/photos/src/services/export/index.ts @@ -380,7 +380,7 @@ class ExportService { ); log.info( - `files:${files.length} unexported files: ${filesToExport.length}, deleted exported files: ${removedFileUIDs.length}, renamed collections: ${renamedCollections.length}, deleted collections: ${deletedExportedCollections.length}`, + `[export] files: ${files.length}, disk files: ${diskFileRecordIDs?.size ?? ""}, unexported files: ${filesToExport.length}, deleted exported files: ${removedFileUIDs.length}, renamed collections: ${renamedCollections.length}, deleted collections: ${deletedExportedCollections.length}`, ); let success = 0; let failed = 0; @@ -1256,7 +1256,7 @@ const readOnDiskFileExportRecordIDs = async ( // // - `exportDir` traces its origin to `electron.selectDirectory()`, which // returns POSIX paths. Down below we use it as the base directory when - // construction paths for the items to export. + // constructing paths for the items to export. // // - `findFiles` is also guaranteed to return POSIX paths. //