mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 00:13:47 +03:00
598c5ea6ac
before this change, we were logging an empty string, which turned into "[]", looking like an empty array. misleading and unhelpful. this is fixed by making struct fields on type recipient "exported" so they can get logged, and by changing the logging code to log nested struct/pointer/interface fields if we would otherwise wouldn't log anything (when only logging more basic data types). we'll now get log lines like: l=info m="deliver attempt to unknown user(s)" pkg=smtpserver recipients="[addr=bogus@test.example]" for issue #232 by snabb, thanks for reporting! |
||
---|---|---|
.. | ||
alias_test.go | ||
alignment.go | ||
analyze.go | ||
dnsbl.go | ||
dsn.go | ||
error.go | ||
fuzz_test.go | ||
limitwriter.go | ||
mx.go | ||
parse.go | ||
parse_test.go | ||
rejects.go | ||
reputation.go | ||
reputation_test.go | ||
server.go | ||
server_test.go |