mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-11 20:54:42 +08:00
27 lines
278 B
Plaintext
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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|