From 52174816b2e45319311e5b92062c5f61570bfbe5 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Mon, 2 Feb 2026 15:39:12 +0530 Subject: [PATCH] chore: update messaging worker logging --- src/Appwrite/Platform/Workers/Messaging.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Workers/Messaging.php b/src/Appwrite/Platform/Workers/Messaging.php index ae94c7580d..7b604c3b19 100644 --- a/src/Appwrite/Platform/Workers/Messaging.php +++ b/src/Appwrite/Platform/Workers/Messaging.php @@ -129,6 +129,11 @@ class Messaging extends Action $userIds = $message->getAttribute('users', []); $providerType = $message->getAttribute('providerType'); + Console::log(json_encode([ + 'project' => $project->getId(), + 'type' => $providerType, + ])); + /** * @var array $allTargets */ @@ -400,7 +405,10 @@ class Messaging extends Action throw new \Exception('Project not set in payload'); } - Console::log('Processing project: ' . $project->getId()); + Console::log(json_encode([ + 'project' => $project->getId(), + 'type' => 'internal-sms' + ])); $denyList = System::getEnv('_APP_SMS_PROJECTS_DENY_LIST', ''); $denyList = explode(',', $denyList); if (\in_array($project->getId(), $denyList)) {