summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-10-17 16:46:42 -0300
committerTomás Touceda <chiiph@leap.se>2013-10-17 16:46:42 -0300
commitd18ac46d3f34619aa4f0a6269effa767b14716e4 (patch)
tree851d4c2109909310e55d42ad5727b9fe70c03a36 /mail
parent88767ec46c2e695b08c469d632eda947c44fa16c (diff)
Do not log mail docs content
Diffstat (limited to 'mail')
-rw-r--r--mail/changes/bug_donot_log_mail_docs1
-rw-r--r--mail/src/leap/mail/imap/fetch.py3
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/changes/bug_donot_log_mail_docs b/mail/changes/bug_donot_log_mail_docs
new file mode 100644
index 00000000..5619d8a7
--- /dev/null
+++ b/mail/changes/bug_donot_log_mail_docs
@@ -0,0 +1 @@
+ o Do not log mail doc contents. \ No newline at end of file
diff --git a/mail/src/leap/mail/imap/fetch.py b/mail/src/leap/mail/imap/fetch.py
index 2a430a0a..0a71f53b 100644
--- a/mail/src/leap/mail/imap/fetch.py
+++ b/mail/src/leap/mail/imap/fetch.py
@@ -215,8 +215,7 @@ class LeapIncomingMail(object):
docs_cb = []
for index, doc in enumerate(doclist):
- logger.debug("processing doc %d of %d: %s" % (
- index, num_mails, doc))
+ logger.debug("processing doc %d of %d" % (index, num_mails))
leap_events.signal(
IMAP_MSG_PROCESSING, str(index), str(num_mails))
keys = doc.content.keys()