From d18ac46d3f34619aa4f0a6269effa767b14716e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Thu, 17 Oct 2013 16:46:42 -0300 Subject: Do not log mail docs content --- mail/changes/bug_donot_log_mail_docs | 1 + mail/src/leap/mail/imap/fetch.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 mail/changes/bug_donot_log_mail_docs diff --git a/mail/changes/bug_donot_log_mail_docs b/mail/changes/bug_donot_log_mail_docs new file mode 100644 index 0000000..5619d8a --- /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 2a430a0..0a71f53 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() -- cgit v1.2.3