Merge pull request 'doc: mention warn
and error
as available log levels' (#716) from emilylange/garage:doc/mention-warn-error-log-levels into main
Some checks failed
ci/woodpecker/push/debug Pipeline failed
Some checks failed
ci/woodpecker/push/debug Pipeline failed
Reviewed-on: #716
This commit is contained in:
commit
ea09b483fe
1 changed files with 4 additions and 3 deletions
|
@ -110,10 +110,11 @@ garage -c path/to/garage.toml server
|
||||||
|
|
||||||
If you have placed the `garage.toml` file in `/etc` (its default location), you can simply run `garage server`.
|
If you have placed the `garage.toml` file in `/etc` (its default location), you can simply run `garage server`.
|
||||||
|
|
||||||
You can tune Garage's verbosity as follows (from less verbose to more verbose):
|
You can tune Garage's verbosity by setting the `RUST_LOG=` environment variable. \
|
||||||
|
Available log levels are (from less verbose to more verbose): `error`, `warn`, `info` *(default)*, `debug` and `trace`.
|
||||||
|
|
||||||
```
|
```bash
|
||||||
RUST_LOG=garage=info garage server
|
RUST_LOG=garage=info garage server # default
|
||||||
RUST_LOG=garage=debug garage server
|
RUST_LOG=garage=debug garage server
|
||||||
RUST_LOG=garage=trace garage server
|
RUST_LOG=garage=trace garage server
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue