From 0d8fc34eac964fa51f102853bc1e6ced1b542270 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Fri, 12 Nov 2021 18:15:16 +0200 Subject: [PATCH] fixup! Fixup `--log-filters` documentation and examples --- doc/upgrading.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/upgrading.md b/doc/upgrading.md index 1649ee661..da1872679 100644 --- a/doc/upgrading.md +++ b/doc/upgrading.md @@ -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