From b188f191313b838f74a1c4b09b58b0ccd1076287 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Tue, 19 Jul 2022 10:08:03 +0200 Subject: imap: disable debug logger This causes all raw email bodies to be dumped along with actual debugging messages. I don't believe we neither need nor want such a thing. Signed-off-by: Robin Jarry Acked-by: Moritz Poldrack --- worker/imap/connect.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'worker/imap/connect.go') diff --git a/worker/imap/connect.go b/worker/imap/connect.go index 9cc394b4..2581c6dd 100644 --- a/worker/imap/connect.go +++ b/worker/imap/connect.go @@ -85,8 +85,6 @@ func (w *IMAPWorker) connect() (*client.Client, error) { } } - c.SetDebug(w.worker.Logger.Writer()) - if _, err := c.Select(imap.InboxName, false); err != nil { return nil, err } -- cgit