From 0529cffa4b43b0054e8e6892e97ad67a313a5936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Wed, 20 Dec 2023 12:31:35 +0100 Subject: [PATCH] Improve logging --- src/Appwrite/Platform/Tasks/CreateInfMetric.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Platform/Tasks/CreateInfMetric.php b/src/Appwrite/Platform/Tasks/CreateInfMetric.php index 36b45bf209..4fe85a8803 100644 --- a/src/Appwrite/Platform/Tasks/CreateInfMetric.php +++ b/src/Appwrite/Platform/Tasks/CreateInfMetric.php @@ -91,6 +91,8 @@ class CreateInfMetric extends Action ->get($db) ->reclaim(); } + + Console::log('Finished project ' . $project->getId() . ' ' . $project->getInternalId()); } $sum = \count($projects); @@ -120,8 +122,6 @@ class CreateInfMetric extends Action $dbForProject->deleteDocument('stats_v2', $id); - echo "_inf_{$metric} , $value \n"; - $dbForProject->createDocument('stats_v2', new Document([ '$id' => $id, 'metric' => $metric,