navidrome/log
Deluan ddcc611af3 refactor(log): redact caller-marked secret values in the log hook
Replaces the statement-wide SQL arg redaction from the previous commit,
which hid every arg of property and password writes (user names, emails,
scanner properties) and made troubleshooting harder.

log.WithSecrets marks values on a context, log calls now pass their
context to the logrus entry, and the redaction hook replaces those values
in the message and fields. logSQL logs the real args again; only the
encrypted password, the API v1 key and the JWT secrets are marked.
2026-09-28 20:06:28 -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): redact caller-marked secret values in the log hook 2026-09-28 20:06:28 -04:00
log_test.go refactor(log): redact caller-marked secret values in the log hook 2026-09-28 20:06:28 -04:00
redactrus.go refactor(log): redact caller-marked secret values in the log hook 2026-09-28 20:06:28 -04:00
redactrus_test.go refactor(log): redact caller-marked secret values in the log hook 2026-09-28 20:06:28 -04:00