summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-09-20 11:22:06 -0400
committerKali Kaneko <kali@leap.se>2013-09-20 11:22:06 -0400
commitfb68ca2b833558f5a3b0b0e1daf068d6520ec302 (patch)
treeaf384a7f676bd8553413175fe0558e04c4ffd061
parent6d1e1ef9bb52ff2d32095c368eeecbfd7842f105 (diff)
remove logging that shows cleartext message
-rw-r--r--changes/bug_3877_remove-cleartext-mail-from-logs1
-rw-r--r--src/leap/mail/imap/fetch.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/changes/bug_3877_remove-cleartext-mail-from-logs b/changes/bug_3877_remove-cleartext-mail-from-logs
new file mode 100644
index 0000000..957ccf5
--- /dev/null
+++ b/changes/bug_3877_remove-cleartext-mail-from-logs
@@ -0,0 +1 @@
+ o Removes cleartext mail from logs. Closes: #3877
diff --git a/src/leap/mail/imap/fetch.py b/src/leap/mail/imap/fetch.py
index e620a58..4fb3910 100644
--- a/src/leap/mail/imap/fetch.py
+++ b/src/leap/mail/imap/fetch.py
@@ -280,7 +280,6 @@ class LeapIncomingMail(object):
rawmsg = msg.get(self.CONTENT_KEY, None)
if not rawmsg:
return False
- logger.debug('got incoming message: %s' % (rawmsg,))
data = self._maybe_decrypt_gpg_msg(rawmsg)
return doc, data