[CalendarServer-changes] [13840] twext/trunk/twext/who/ldap/_service.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 5 15:49:28 PDT 2014


Revision: 13840
          http://trac.calendarserver.org//changeset/13840
Author:   sagen at apple.com
Date:     2014-08-05 15:49:28 -0700 (Tue, 05 Aug 2014)
Log Message:
-----------
Lower some ldap related log.info --> debug

Modified Paths:
--------------
    twext/trunk/twext/who/ldap/_service.py

Modified: twext/trunk/twext/who/ldap/_service.py
===================================================================
--- twext/trunk/twext/who/ldap/_service.py	2014-08-05 22:06:32 UTC (rev 13839)
+++ twext/trunk/twext/who/ldap/_service.py	2014-08-05 22:49:28 UTC (rev 13840)
@@ -315,7 +315,7 @@
         # a connection pool
 
         if not hasattr(self, "_connection"):
-            self.log.info("Connecting to LDAP at {log_source.url}")
+            self.log.debug("Connecting to LDAP at {log_source.url}")
             connection = ldap.initialize(self.url)
 
             # FIXME: Use trace_file option to wire up debug logging when
@@ -331,7 +331,7 @@
                     connection.set_option(option, value)
 
             if self._useTLS:
-                self.log.info("Starting TLS for {log_source.url}")
+                self.log.debug("Starting TLS for {log_source.url}")
                 yield deferToThread(connection.start_tls_s)
 
             if self._credentials is not None:
@@ -342,7 +342,7 @@
                             self._credentials.username,
                             self._credentials.password,
                         )
-                        self.log.info(
+                        self.log.debug(
                             "Bound to LDAP as {credentials.username}",
                             credentials=self._credentials
                         )
@@ -427,7 +427,7 @@
                 ldap.dn.str2dn(rdn.lower()) +
                 ldap.dn.str2dn(self._baseDN.lower())
             )
-            self.log.info(
+            self.log.debug(
                 "Performing LDAP query: {rdn} {query} {recordType}",
                 rdn=rdn,
                 query=queryString,
@@ -467,7 +467,7 @@
         """
         connection = yield self._connect()
 
-        self.log.info("Performing LDAP DN query: {dn}", dn=dn)
+        self.log.debug("Performing LDAP DN query: {dn}", dn=dn)
 
         reply = yield deferToThread(
             connection.search_s,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140805/96296704/attachment.html>


More information about the calendarserver-changes mailing list