From 6e5dcc738ea31275c0dc69b1a95c76571dd11a38 Mon Sep 17 00:00:00 2001 From: Michael Bai Date: Thu, 18 Nov 2021 18:06:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9ldap=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E4=B8=BAdebug=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/settings/utils/ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/settings/utils/ldap.py b/apps/settings/utils/ldap.py index 89ab7b153..81eb70745 100644 --- a/apps/settings/utils/ldap.py +++ b/apps/settings/utils/ldap.py @@ -114,7 +114,7 @@ class LDAPServerUtil(object): cookie = self.connection.result['controls']['1.2.840.113556.1.4.319']['value']['cookie'] return cookie except Exception as e: - logger.error(e, exc_info=True) + logger.debug(e, exc_info=True) return None def get_search_filter_extra(self):