[CalendarServer-changes] [2895] CalendarServer/branches/users/sagen/mailgateway-2881/twistedcaldav/ mail.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 28 12:56:09 PDT 2008


Revision: 2895
          http://trac.macosforge.org/projects/calendarserver/changeset/2895
Author:   cdaboo at apple.com
Date:     2008-08-28 12:56:08 -0700 (Thu, 28 Aug 2008)
Log Message:
-----------
Add a tad more logging.

Modified Paths:
--------------
    CalendarServer/branches/users/sagen/mailgateway-2881/twistedcaldav/mail.py

Modified: CalendarServer/branches/users/sagen/mailgateway-2881/twistedcaldav/mail.py
===================================================================
--- CalendarServer/branches/users/sagen/mailgateway-2881/twistedcaldav/mail.py	2008-08-28 16:44:18 UTC (rev 2894)
+++ CalendarServer/branches/users/sagen/mailgateway-2881/twistedcaldav/mail.py	2008-08-28 19:56:08 UTC (rev 2895)
@@ -401,8 +401,10 @@
 
             mailType = settings['Receiving']['Type']
             if mailType.lower().startswith('pop'):
+                self.log_info("Starting Mail Gateway Service: POP3")
                 client = POP3Service(settings['Receiving'], mailer)
             elif mailType.lower().startswith('imap'):
+                self.log_info("Starting Mail Gateway Service: IMAP4")
                 client = IMAP4Service(settings['Receiving'], mailer)
             else:
                 # TODO: raise error?
@@ -413,6 +415,8 @@
             client.setServiceParent(multiService)
 
             IScheduleService(settings, mailer).setServiceParent(multiService)
+        else:
+            self.log_info("Mail Gateway Service not enabled")
 
         return multiService
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080828/bf2cd469/attachment.html 


More information about the calendarserver-changes mailing list