navidrome/log
Deluan 58090b42ec fix(log): redact marked secrets in every field type
redactSecrets only looked at strings, maps and errors, so a marked secret
inside a slice, struct or []byte field was logged as is, and a typed-nil
error field made it panic. It now renders each field with fmt.Sprint, as
the text formatter does (which also survives typed-nil errors), and writes
[]byte raw.

Signed-off-by: Deluan <deluan@navidrome.org>
2026-09-29 10:37:53 -04:00
..
formatters.go feat(artwork): new artwork pipeline with background resolution and Low Quality Image Placeholders (#5847) 2026-08-09 15:03:27 -04:00
formatters_test.go feat(artwork): new artwork pipeline with background resolution and Low Quality Image Placeholders (#5847) 2026-08-09 15:03:27 -04:00
journal.go chore: go fix 2026-05-28 22:13:05 -03:00
journal_test.go feat(server): add syslog priority prefixes for systemd-journald (#5192) 2026-03-15 14:14:05 -04:00
log.go refactor(log): mark secrets on their own line and cover session keys 2026-09-28 20:06:28 -04:00
log_test.go test(log): compute the expected source line instead of hard-coding it 2026-09-28 21:47:16 -04:00
redactrus.go fix(log): redact marked secrets in every field type 2026-09-29 10:37:53 -04:00
redactrus_test.go fix(log): redact marked secrets in every field type 2026-09-29 10:37:53 -04:00