navi/docs/config_file.md
2023-05-13 13:47:21 +08:00

751 B

Config file

Example

An example config can be found by running:

navi info config-example

You can also read it online by clicking here.

Location

Run the following command to check where the config file is/should be located:

navi info config-path

Creating the file

Run the following command to generate a config file with the default parameters:

navi info config-example > "$(navi info config-path)"

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.