mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-29 15:13:49 +03:00
27 lines
278 B
Text
27 lines
278 B
Text
|
{
|
||
|
log first {
|
||
|
output file foo.log
|
||
|
}
|
||
|
log second {
|
||
|
format json
|
||
|
}
|
||
|
}
|
||
|
----------
|
||
|
{
|
||
|
"logging": {
|
||
|
"logs": {
|
||
|
"first": {
|
||
|
"writer": {
|
||
|
"filename": "foo.log",
|
||
|
"output": "file"
|
||
|
}
|
||
|
},
|
||
|
"second": {
|
||
|
"encoder": {
|
||
|
"format": "json"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|