From 133fa840e7ce9c1b04adca333a026ee8cb340855 Mon Sep 17 00:00:00 2001 From: "Leo R. Lundgren" Date: Sat, 4 Mar 2023 16:05:32 +0100 Subject: [PATCH] log: Make adapter method calls less verbose Changes logging level for some repeated calls from 'info' to 'debug'. --- lib/Adapter/Groups/NextcloudGroupAdapter.php | 4 ++-- lib/Adapter/Users/NextcloudUserAdapter.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Adapter/Groups/NextcloudGroupAdapter.php b/lib/Adapter/Groups/NextcloudGroupAdapter.php index 32f4987..dd6c0fb 100644 --- a/lib/Adapter/Groups/NextcloudGroupAdapter.php +++ b/lib/Adapter/Groups/NextcloudGroupAdapter.php @@ -34,7 +34,7 @@ class NextcloudGroupAdapter extends AbstractAdapter */ public function getCoreGroup(?IGroup $ncGroup): ?CoreGroup { - $this->logger->info( + $this->logger->debug( "[" . NextcloudGroupAdapter::class . "] entering getCoreGroup() method" ); @@ -80,7 +80,7 @@ class NextcloudGroupAdapter extends AbstractAdapter */ public function getNCGroup(?CoreGroup $coreGroup, IGroup $ncGroup): ?IGroup { - $this->logger->info( + $this->logger->debug( "[" . NextcloudGroupAdapter::class . "] entering getNCGroup() method" ); diff --git a/lib/Adapter/Users/NextcloudUserAdapter.php b/lib/Adapter/Users/NextcloudUserAdapter.php index 5f17b97..52609cd 100644 --- a/lib/Adapter/Users/NextcloudUserAdapter.php +++ b/lib/Adapter/Users/NextcloudUserAdapter.php @@ -41,7 +41,7 @@ class NextcloudUserAdapter extends AbstractAdapter */ public function getCoreUser(?IUser $ncUser): ?CoreUser { - $this->logger->info( + $this->logger->debug( "[" . NextcloudUserAdapter::class . "] entering getCoreUser() method" ); @@ -86,7 +86,7 @@ class NextcloudUserAdapter extends AbstractAdapter */ public function getNCUser(?CoreUser $coreUser, IUser $ncUser): ?IUser { - $this->logger->info( + $this->logger->debug( "[" . NextcloudUserAdapter::class . "] entering getNCUser() method" );