github.com/sagernet/sing-box@v1.9.0-rc.20/docs/configuration/log/index.md (about) 1 # Log 2 3 ### Structure 4 5 ```json 6 { 7 "log": { 8 "disabled": false, 9 "level": "info", 10 "output": "box.log", 11 "timestamp": true 12 } 13 } 14 15 ``` 16 17 ### Fields 18 19 #### disabled 20 21 Disable logging, no output after start. 22 23 #### level 24 25 Log level. One of: `trace` `debug` `info` `warn` `error` `fatal` `panic`. 26 27 #### output 28 29 Output file path. Will not write log to console after enable. 30 31 #### timestamp 32 33 Add time to each line.