mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-12 13:33:51 +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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|