summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRubem Pacelli <rubem.engenharia@gmail.com>2023-12-10 23:17:07 -0300
committerGitHub <noreply@github.com>2023-12-10 23:17:07 -0300
commit212ed34bd754bf432923c54a573d655af33fdaa8 (patch)
tree383008f83859da36cc0705d9a1f37d06c078ee6c
parent430c9729e18ac2593d9b085a537a664147e5786f (diff)
add: logging to navi_config.md
-rw-r--r--docs/navi_config.md8
1 files changed, 7 insertions, 1 deletions
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`.