[CalendarServer-changes] [2973] CalendarServer/trunk/twistedcaldav/directory

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 10 15:00:40 PDT 2008


Revision: 2973
          http://trac.macosforge.org/projects/calendarserver/changeset/2973
Author:   wsanchez at apple.com
Date:     2008-09-10 15:00:39 -0700 (Wed, 10 Sep 2008)
Log Message:
-----------
Less chatty logging

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
    CalendarServer/trunk/twistedcaldav/directory/principal.py

Modified: CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2008-09-10 21:38:13 UTC (rev 2972)
+++ CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2008-09-10 22:00:39 UTC (rev 2973)
@@ -456,7 +456,7 @@
                                   % (guid, recordType))
                     break
             else:
-                self.log_info("Unable to find any record with GUID %s" % (guid,))
+                self.log_debug("Unable to find any record with GUID %s" % (guid,))
 
         return record
 

Modified: CalendarServer/trunk/twistedcaldav/directory/principal.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/principal.py	2008-09-10 21:38:13 UTC (rev 2972)
+++ CalendarServer/trunk/twistedcaldav/directory/principal.py	2008-09-10 22:00:39 UTC (rev 2973)
@@ -335,7 +335,7 @@
         record = self.directory.recordWithGUID(primaryUID)
 
         if record is None:
-            log.err("No principal found for UID: %s" % (name,))
+            log.debug("No principal found for UID: %s" % (name,))
             return None
 
         if record.enabledForCalendaring:
@@ -502,7 +502,7 @@
                 if relative not in records:
                     found = self.parent.principalForRecord(relative)
                     if found is None:
-                        log.err("No principal found for directory record: %r" % (relative,))
+                        log.debug("No principal found for directory record: %r" % (relative,))
                     else:
                         if proxy:
                             if proxy == "read-write":
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080910/f8f9e94b/attachment-0001.html 


More information about the calendarserver-changes mailing list