Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Log what we send

Manav Rathi9934ead51db8
diff --git a/web/apps/photos/src/services/machineLearning/machineLearningService.ts b/web/apps/photos/src/services/machineLearning/machineLearningService.ts
index f2354f7b13..48edb0490e 100644
--- a/web/apps/photos/src/services/machineLearning/machineLearningService.ts
+++ b/web/apps/photos/src/services/machineLearning/machineLearningService.ts
@@ -348,7 +348,11 @@ class MachineLearningService {
private async persistOnServer(mlFileData: MlFileData, enteFile: EnteFile) {
const serverMl = LocalFileMlDataToServerFileMl(mlFileData);
- log.info(mlFileData);
+ log.debug(() => ({ t: "Local ML file data", mlFileData }));
+ log.debug(() => ({
+ t: "Uploaded ML file data",
+ d: JSON.stringify(serverMl),
+ }));
const comlinkCryptoWorker = await ComlinkCryptoWorker.getInstance();
const { file: encryptedEmbeddingData } =