Skip to content

Commit

Permalink
fixup! Fixup --log-filters documentation and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
romanz committed Nov 12, 2021
1 parent 9a7bd42 commit 0d8fc34
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion doc/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@

* If you use `verbose` (or `-v` argument), switch to `log_filters` (or `RUST_LOG` environment variable).
Please note that it allows to set per-module filters, but module naming is considered unstable.
If you have used `-vv` (the default setting), switch to `--log-filters INFO`.
If you have used `-vv` (the value suggested in the documentation), switch to `--log-filters INFO`:


|Log level|Old `verbose` value|Description |
|---------|-------------------|----------------------------------------------------------------------|
|ERROR | 0|Only fatal errors |
|WARN | 1|Things that could indicate serious problems |
|INFO | 2|Various significant events and suggestions |
|DEBUG | 3|Details that could be useful when debugging - only use when debugging!|
|TRACE | 4|**Very** detailed information - only use when debugging! |


### Important changes from versions older than 0.9.0
Expand Down

0 comments on commit 0d8fc34

Please sign in to comment.