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 <robin@jarry.cc> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
This commit is contained in:
parent
b8bb2a6ac1
commit
b188f19131
1 changed files with 0 additions and 2 deletions
|
@ -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 {
|
if _, err := c.Select(imap.InboxName, false); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue