diff --git a/apps/provisioning_api/lib/Controller/AUserData.php b/apps/provisioning_api/lib/Controller/AUserData.php index 77d7f31c6daf5..5387b7e90b086 100644 --- a/apps/provisioning_api/lib/Controller/AUserData.php +++ b/apps/provisioning_api/lib/Controller/AUserData.php @@ -110,6 +110,13 @@ public function __construct(string $appName, * @throws OCSNotFoundException */ protected function getUserData(string $userId, bool $includeScopes = false): ?array { + \OC::$server->get(\Psr\Log\LoggerInterface::class)->error( + 'Start of getUserData for {user}', + [ + 'user' => $userId, + 'ticket' => '66440', + ] + ); $currentLoggedInUser = $this->userSession->getUser(); assert($currentLoggedInUser !== null, 'No user logged in'); @@ -222,6 +229,13 @@ protected function getUserData(string $userId, bool $includeScopes = false): ?ar 'setDisplayName' => $backend instanceof ISetDisplayNameBackend || $backend->implementsActions(Backend::SET_DISPLAYNAME), 'setPassword' => $backend instanceof ISetPasswordBackend || $backend->implementsActions(Backend::SET_PASSWORD), ]; + \OC::$server->get(\Psr\Log\LoggerInterface::class)->error( + 'End of getUserData for {user}', + [ + 'user' => $userId, + 'ticket' => '66440', + ] + ); return $data; } @@ -256,6 +270,14 @@ protected function getUserSubAdminGroupsData(string $userId): array { * @throws OCSException */ protected function fillStorageInfo(string $userId): array { + \OC::$server->get(\Psr\Log\LoggerInterface::class)->error( + 'Start of fillStorageInfo for {user}', + [ + 'user' => $userId, + 'ticket' => '66440', + ] + ); + try { \OC_Util::tearDownFS(); \OC_Util::setupFS($userId); @@ -294,6 +316,14 @@ protected function fillStorageInfo(string $userId): array { \OC_Util::tearDownFS(); return []; } + \OC::$server->get(\Psr\Log\LoggerInterface::class)->error( + 'End of fillStorageInfo for {user}', + [ + 'user' => $userId, + 'ticket' => '66440', + ] + ); + return $data; } } diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index dd5114a106ed6..025de83dd87c2 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -215,6 +215,13 @@ public function getUsersDetails(string $search = '', int $limit = null, int $off $usersDetails = []; foreach ($users as $userId) { $userId = (string) $userId; + \OC::$server->get(\Psr\Log\LoggerInterface::class)->error( + 'Start of getUsersDetails for {user}', + [ + 'user' => $userId, + 'ticket' => '66440', + ] + ); try { $userData = $this->getUserData($userId); } catch (OCSNotFoundException $e) { @@ -231,6 +238,13 @@ public function getUsersDetails(string $search = '', int $limit = null, int $off // only showing its id $usersDetails[$userId] = ['id' => $userId]; } + \OC::$server->get(\Psr\Log\LoggerInterface::class)->error( + 'End of getUsersDetails for {user}', + [ + 'user' => $userId, + 'ticket' => '66440', + ] + ); } return new DataResponse([