From 9903239f74602ddaa909aedadc82d65132cebcdd Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Fri, 21 Oct 2016 17:10:26 -0400 Subject: [bug] fix yet another logger syntax error --- src/leap/bitmask/mail/imap/service/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/leap/bitmask/mail/imap/service/__init__.py b/src/leap/bitmask/mail/imap/service/__init__.py index b0ad05d2..880ff238 100644 --- a/src/leap/bitmask/mail/imap/service/__init__.py +++ b/src/leap/bitmask/mail/imap/service/__init__.py @@ -139,7 +139,7 @@ class LeapIMAPFactory(ServerFactory): """ # TODO should reject anything from addr != localhost, # just in case. - log.msg("Building protocol for connection %s" % addr) + logger.debug("Building protocol for connection %s" % addr) imapProtocol = self.protocol(self._soledad_sessions) self._connections[addr] = imapProtocol return imapProtocol @@ -147,7 +147,7 @@ class LeapIMAPFactory(ServerFactory): def stopFactory(self): # say bye! for conn, proto in self._connections.items(): - log.msg("Closing connections for %s" % conn) + logger.debug("Closing connections for %s" % conn) proto.close_server_connection() def doStop(self): -- cgit v1.2.3