mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 06:03:48 +03:00
26 lines
278 B
Text
26 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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|