diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index 14d5b826f63f6c986cc88fe5ea94a854cbbd9003..d07a8a030a3308a7bc4abd1a6388695022442135 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -52,6 +52,7 @@ use OCA\User_LDAP\Mapping\AbstractMapping; use OC\ServerNotAvailableException; use OCP\IConfig; +use OCP\Util; /** * Class Access @@ -1937,9 +1938,8 @@ class Access extends LDAPUtility implements IUserTools { } \OCP\Util::writeLog('user_ldap', 'Ready for a paged search', \OCP\Util::DEBUG); } else { - \OCP\Util::writeLog('user_ldap', - 'No paged search for us, Cpt., Limit '.$limit.' Offset '.$offset, - \OCP\Util::INFO); + $e = new \Exception('No paged search possible, Limit '.$limit.' Offset '.$offset); + \OC::$server->getLogger()->logException($e, ['level' => Util::DEBUG]); } }