Skip to content

Commit 540c3c4

Browse files
committed
mention the --log-file flag and debug log level in the logging guide
1 parent 6383d3d commit 540c3c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/zls/guides/view-logs.smd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ Run `zls env` and then look for the `log_file` property:
2828
}
2929
```
3030

31-
The logs can then be found in `/home/anon/.cache/zls/zls.log`. Please note that ZLS will not empty the file when restarting but always append logs instead. The log file will not contain stack traces when ZLS crashes. Use Editor logs when the stack trace should be included.
31+
The logs can then be found in `/home/anon/.cache/zls/zls.log`. You can configure which logs should be included with the `--log-file` flag. A debug build of ZLS will include all logs by default.
32+
33+
Please note that ZLS will not empty the file when restarting but always append logs instead. The log file will not contain stack traces when ZLS crashes. Use Editor logs when the stack trace should be included.
3234

3335
## Use Editor logs
3436

0 commit comments

Comments
 (0)