From 4893501abe3be254a4a3b6c4ced9ca0058071413 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Mon, 21 Nov 2022 10:31:24 +0100 Subject: Log as warning instead of info when main LDAP server is unreachable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- apps/user_ldap/lib/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index 1d504675e09..0d30a5c608e 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -606,7 +606,7 @@ class Connection extends LDAPUtility { if (!$isBackupHost) { throw $e; } - $this->logger->info( + $this->logger->warning( 'Main LDAP not reachable, connecting to backup', [ 'app' => 'user_ldap' -- cgit v1.2.3