caddy/caddyconfig/httpcaddyfile
Aaron Taylor 2a127ac3d1
caddyconfig: add global option for configuring loggers (#4028)
This change is aimed at enhancing the logging module within the
Caddyfile directive to allow users to configure logs other than the HTTP
access log stream, which is the current capability of the Caddyfile [1].
The intent here is to leverage the same syntax as the server log
directive at a global level, so that similar customizations can be added
without needing to resort to a JSON-based configuration.

Discussion for this approach happened in the referenced issue.

Closes https://github.com/caddyserver/caddy/issues/3958

[1] https://caddyserver.com/docs/caddyfile/directives/log
2021-03-12 13:00:02 -07:00
..
addresses.go httpcaddyfile: Configure servers via global options (#3836) 2020-11-23 12:46:50 -07:00
addresses_fuzz.go ci: fuzz: switch engine from libfuzzer to native go-fuzz (#3194) 2020-03-26 18:20:34 -06:00
addresses_test.go httpcaddyfile: Don't lowercase placeholder contents (fixes #3264) 2020-04-14 16:11:46 -06:00
builtins.go caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
builtins_test.go caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
directives.go caddyhttp: Implement handler abort; new 'abort' directive (close #3871) (#3983) 2021-01-28 12:54:55 -07:00
directives_test.go tests: Clean up redundant type declarations 2020-04-10 08:48:21 -06:00
httptype.go caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
httptype_test.go caddyfile: Introduce basic linting and fmt check (#3923) 2021-01-04 11:11:36 -07:00
options.go caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
options_test.go caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
pkiapp.go acmeserver: Support custom CAs from Caddyfile 2021-02-02 17:23:52 -07:00
serveroptions.go caddyfile: Refactor unmarshaling of module tokens 2021-01-05 14:39:30 -07:00
tlsapp.go httpcaddyfile: Fix automation policies 2021-02-08 11:06:19 -07:00
tlsapp_test.go httpcaddyfile: Revise automation policy generation (#3824) 2020-10-28 20:36:00 -06:00