mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-28 14:43:48 +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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|