summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/changes/bug_3877_remove-cleartext-mail-from-logs1
-rw-r--r--mail/src/leap/mail/imap/fetch.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/mail/changes/bug_3877_remove-cleartext-mail-from-logs b/mail/changes/bug_3877_remove-cleartext-mail-from-logs
new file mode 100644
index 00000000..957ccf54
--- /dev/null
+++ b/mail/changes/bug_3877_remove-cleartext-mail-from-logs
@@ -0,0 +1 @@
+ o Removes cleartext mail from logs. Closes: #3877
diff --git a/mail/src/leap/mail/imap/fetch.py b/mail/src/leap/mail/imap/fetch.py
index e620a584..4fb39100 100644
--- a/mail/src/leap/mail/imap/fetch.py
+++ b/mail/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