From 212ed34bd754bf432923c54a573d655af33fdaa8 Mon Sep 17 00:00:00 2001 From: Rubem Pacelli Date: Sun, 10 Dec 2023 23:17:07 -0300 Subject: [PATCH] add: logging to navi_config.md --- docs/navi_config.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/navi_config.md b/docs/navi_config.md index 6b53af8..85dc4db 100644 --- a/docs/navi_config.md +++ b/docs/navi_config.md @@ -4,7 +4,7 @@ The default config file path is set by the `$NAVI_CONFIG` environment variable. ```sh navi info config-path ``` -prints which config file path is being used. You can get an config file example by running +prints which config file path is being used. You can get a config file example by running ```sh navi info config-example ``` @@ -30,3 +30,9 @@ You can also add other paths at runtime by running `navi` with the `--path` opti navi --path '/some/dir:/other/dir' ``` It's irrelevant the directory structure within each path. They can even be all in a single file if you wish, as long as you split them accordingly with lines starting with `%`. + +## Logging + +The log file will be created under the same directory where the config locates. + +And you can use the `RUST_LOG` env to set the log level, e.g. `RUST_LOG=debug navi`.