diff options
author | Kali Kaneko <kali@leap.se> | 2013-08-08 14:01:18 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-08-08 14:01:18 +0200 |
commit | 3fd9833f3392050068b42e9fd3f7b982b1040d64 (patch) | |
tree | ef9ba8a9ddc30461b233c4c70465f26edd7d6fee /src/leap/services/mail/imap.py | |
parent | ff2ab59bf6b5473ef58386978a88bd5346a8718a (diff) |
remove separate logging
Diffstat (limited to 'src/leap/services/mail/imap.py')
-rw-r--r-- | src/leap/services/mail/imap.py | 7 |
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) |