caddy/modules/logging
Matt Holt e3c369d452
logging: Implement dial timeout for net writer (fix #4083) (#4172)
* logging: Implement dial timeout for net writer (fix #4083)

* Limit how often redials are attempted

This should cause dial blocking to occur only once every 10 seconds at most, but it also means the logger connection might be down for up to 10 seconds after it comes back online; oh well. We shouldn't block for DialTimeout at every single log emission.

* Clarify offline behavior
2021-05-19 15:14:03 -06: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: Implement dial timeout for net writer (fix #4083) (#4172) 2021-05-19 15:14:03 -06:00
nopencoder.go v2: Logging! (#2831) 2019-10-28 14:39:37 -06:00