caddy/caddytest/integration/caddyfile_adapt/global_options_log_multi.caddyfiletest

27 lines
278 B
Plaintext

{
log first {
output file foo.log
}
log second {
format json
}
}
----------
{
"logging": {
"logs": {
"first": {
"writer": {
"filename": "foo.log",
"output": "file"
}
},
"second": {
"encoder": {
"format": "json"
}
}
}
}
}