c70a621709
We were outputting full message bodies to the debug log (often stderr), and then again (as they go over the imaplib2 wire, imaplib logs everything too). Not only is quite a privacy issue when sending in debug logs but it can also freeze a console for quite some time. Plus it bloats debug logs A LOT. Only output the first and last 100 bytes of each message body to the debug log (we still get the full body from imaplib2 logging). This limits privacy issues when handing the log to someone else, but usually still contains all the interesting bits that we want to see in a log. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net> |
||
---|---|---|
.. | ||
folder | ||
repository | ||
ui | ||
__init__.py | ||
accounts.py | ||
CustomConfig.py | ||
error.py | ||
imaplib2.py | ||
imaplibutil.py | ||
imapserver.py | ||
imaputil.py | ||
init.py | ||
localeval.py | ||
mbnames.py | ||
syncmaster.py | ||
threadutil.py |