mirror of
https://github.com/nushell/nushell.git
synced 2025-01-03 13:00:08 +01:00
Add custom log target to debugging tips (#6293)
Signed-off-by: nibon7 <nibon7@163.com> Signed-off-by: nibon7 <nibon7@163.com>
This commit is contained in:
parent
58094987ff
commit
8d091f6f83
@ -66,3 +66,9 @@ cargo build
|
||||
```shell
|
||||
cargo run --release --features=extra -- --log-level trace
|
||||
```
|
||||
|
||||
- To redirect trace logs to a file, enable the `--log-target file` switch.
|
||||
```shell
|
||||
cargo run --release --features=extra -- --log-level trace --log-target file
|
||||
[($nu.temp-path) nu-($nu.pid).log] | path join | open
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user