1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/modules/logging
Matt Holt 5d97522d18
v2: 'log' directive for Caddyfile, and debug mode (#3052)
* httpcaddyfile: Begin implementing log directive, and debug mode

For now, debug mode just sets the log level for all logs to DEBUG
(unless a level is specified explicitly).

* httpcaddyfile: Finish 'log' directive

Also rename StringEncoder -> SingleFieldEncoder

* Fix minor bug in replacer (when vals are empty)
2020-02-25 22:00:33 -07:00
..
encoders.go v2: 'log' directive for Caddyfile, and debug mode (#3052) 2020-02-25 22:00:33 -07:00
filewriter.go v2: 'log' directive for Caddyfile, and debug mode (#3052) 2020-02-25 22:00:33 -07:00
filterencoder.go logging: Add doc about which fields can't be filtered 2020-01-03 15:28:05 -07:00
filters.go v2: Module documentation; refactor LoadModule(); new caddy struct tags (#2924) 2019-12-10 13:36:46 -07:00
netwriter.go v2: 'log' directive for Caddyfile, and debug mode (#3052) 2020-02-25 22:00:33 -07:00
nopencoder.go v2: Logging! (#2831) 2019-10-28 14:39:37 -06:00