caddy/modules/logging
Aaron Taylor f137b82227
logging: add replace filter for static value replacement (#4029)
This filter is intended to be useful in scenarios where you may want to
redact a value with a static string, giving you information that the
field did previously exist and was present, but not revealing the value
itself in the logs.

This was inspired by work on adding more complete support for removing
sensitive values from logs [1]. An example use case would be the
Authorization header in request log output, for which the value should
usually not be logged, but it may be quite useful for debugging to
confirm that the header was present in the request.

[1] https://github.com/caddyserver/caddy/issues/3958
2021-03-12 13:01:34 -07:00
..
encoders.go logging: Remove logfmt encoder (close #3575) 2021-01-07 14:29:19 -07:00
filewriter.go core: Add support for d duration unit (#3323) 2020-05-11 16:41:11 -06:00
filterencoder.go caddyfile: Refactor unmarshaling of module tokens 2021-01-05 14:39:30 -07:00
filters.go logging: add replace filter for static value replacement (#4029) 2021-03-12 13:01:34 -07:00
netwriter.go logging: Net writer redials if write fails (#3453) 2020-05-28 10:40:14 -06:00
nopencoder.go v2: Logging! (#2831) 2019-10-28 14:39:37 -06:00