mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-12 04:17:16 +02:00
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. |
||
|---|---|---|
| .. | ||
| formatters.go | ||
| formatters_test.go | ||
| journal.go | ||
| journal_test.go | ||
| log.go | ||
| log_test.go | ||
| redactrus.go | ||
| redactrus_test.go | ||