summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-10-21 17:10:26 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-10-21 17:17:42 -0400
commit9903239f74602ddaa909aedadc82d65132cebcdd (patch)
tree5a9f5641f35130787c7bc5e8a3aa7dfea7c29126
parent801f9318be9a0daf93205ac58e18d48efa358ebf (diff)
[bug] fix yet another logger syntax error
-rw-r--r--src/leap/bitmask/mail/imap/service/__init__.py4
1 files 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 b0ad05d..880ff23 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):