sing-box/docs/configuration/log/index.md

33 lines
415 B
Markdown
Raw Permalink Normal View History

2022-08-28 04:45:38 +00:00
# Log
2022-07-08 09:01:38 +00:00
### Structure
```json
{
"log": {
"disabled": false,
"level": "info",
"output": "box.log",
"timestamp": true
}
}
```
### Fields
#### disabled
Disable logging, no output after start.
#### level
Log level. One of: `trace` `debug` `info` `warn` `error` `fatal` `panic`.
#### output
Output file path. Will not write log to console after enable.
#### timestamp
Add time to each line.