mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 09:14:39 +03:00
add two new log levels for tracing sensitive auth protocol messages, and bulk data messages
named "traceauth" and "tracedata". with this, you can (almost) enable trace logging without fear of logging sensitive data or ddos'ing your log server. the caveat is that the imap login command has already printed the line as regular trace before we can decide it should not be. can be fixed soon.
This commit is contained in:
2
doc.go
2
doc.go
@ -144,7 +144,7 @@ By default, a single log level applies to all logging in mox. But for each
|
||||
smtpserver, smtpclient, queue, imapserver, spf, dkim, dmarc, junk, message,
|
||||
etc.
|
||||
|
||||
Valid labels: error, info, debug, trace.
|
||||
Valid labels: error, info, debug, trace, traceauth, tracedata.
|
||||
|
||||
usage: mox loglevels [level [pkg]]
|
||||
|
||||
|
Reference in New Issue
Block a user