summaryrefslogtreecommitdiff
path: root/src/leap/services/mail/imap.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/services/mail/imap.py')
-rw-r--r--src/leap/services/mail/imap.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/leap/services/mail/imap.py b/src/leap/services/mail/imap.py
index 5fdc7492..4dceb2ad 100644
--- a/src/leap/services/mail/imap.py
+++ b/src/leap/services/mail/imap.py
@@ -34,8 +34,9 @@ def start_imap_service(*args, **kwargs):
"""
logger.debug('Launching imap service')
- # XXX handle this in a more appropriate manner
- log.startLogging(open('/tmp/leap-imap.log', 'w'))
- log.startLogging(sys.stdout)
+ # Uncomment the next two lines to get a separate debugging log
+ # TODO handle this by a separate flag.
+ #log.startLogging(open('/tmp/leap-imap.log', 'w'))
+ #log.startLogging(sys.stdout)
return imap.run_service(*args, **kwargs)