From 5a00b33a90a35cd8f54ba1b8c966608525205cf6 Mon Sep 17 00:00:00 2001 From: Lyonel Vincent Date: Wed, 24 Dec 2014 16:32:27 +0100 Subject: [PATCH 1/2] Be less verbose when disabling SSL cert validation change log level from WARN to DEBUG --- apps/user_ldap/lib/connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_ldap/lib/connection.php b/apps/user_ldap/lib/connection.php index 54aafb93410..204857eb61e 100644 --- a/apps/user_ldap/lib/connection.php +++ b/apps/user_ldap/lib/connection.php @@ -506,7 +506,7 @@ class Connection extends LDAPUtility { if(putenv('LDAPTLS_REQCERT=never')) { \OCP\Util::writeLog('user_ldap', 'Turned off SSL certificate validation successfully.', - \OCP\Util::WARN); + \OCP\Util::DEBUG); } else { \OCP\Util::writeLog('user_ldap', 'Could not turn off SSL certificate validation.', From f94b30060272eee8e3b092661be6f5e2dc61b209 Mon Sep 17 00:00:00 2001 From: Lyonel Vincent Date: Wed, 24 Dec 2014 16:35:36 +0100 Subject: [PATCH 2/2] Be less verbose when using a paged search Lower the priority from INFO to DEBUG --- apps/user_ldap/lib/access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index 5d0910320bf..00fb8acc59a 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -1406,7 +1406,7 @@ class Access extends LDAPUtility implements user\IUserTools { if(!$pagedSearchOK) { return false; } - \OCP\Util::writeLog('user_ldap', 'Ready for a paged search', \OCP\Util::INFO); + \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,