From c78f9be13590f50fbd3ecaba852e19948fbcd189 Mon Sep 17 00:00:00 2001 From: Ronak Patel Date: Wed, 29 Nov 2023 19:42:41 -0800 Subject: [PATCH] added logger --- lib/Listeners/UserChangedListener.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Listeners/UserChangedListener.php b/lib/Listeners/UserChangedListener.php index 48d2ddb9..7a54a548 100644 --- a/lib/Listeners/UserChangedListener.php +++ b/lib/Listeners/UserChangedListener.php @@ -34,6 +34,7 @@ class UserChangedListener implements IEventListener { } public function handle(Event $event): void { + \OC::$server->getLogger()->error(">>>>>>>> UserChangedListener <<<<<<<<"); if (!($event instanceof UserChangedEvent)) { return; } @@ -41,6 +42,10 @@ class UserChangedListener implements IEventListener { $feature = $event->getFeature(); $user = $event->getUser(); $username = $user->getUID(); + + \OC::$server->getLogger()->error(">>>>>>>> username:: " . $username); + \OC::$server->getLogger()->error(">>>>>>>> feature:: " . $feature); + \OC::$server->getLogger()->error(">>>>>>>> user:: " . $user); if ($feature === self::QUOTA_FEATURE) { $updatedQuota = $event->getValue(); -- GitLab