summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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