docs(readme): improve info about logging

This commit is contained in:
Jake Stanger 2024-02-14 21:17:03 +00:00
parent f68d95a740
commit e26e213c4e
No known key found for this signature in database
GPG Key ID: C51FC8F9CB0BEA61

View File

@ -153,11 +153,14 @@ See the [Configuration Guide](https://github.com/JakeStanger/ironbar/wiki/config
Ironbar can be launched using the `ironbar` binary.
Log verbosity can be changed using `IRONBAR_LOG` or `IRONBAR_FILE_LOG`. You can use any of `error`, `warn`, `info`, `debug` or `trace`.
The `IRONBAR_LOG` and `IRONBAR_FILE_LOG` environment variables can be set
to change console and file log verbosity respectively.
You can use any of `error`, `warn`, `info`, `debug` or `trace`.
These default to `IRONBAR_LOG=info` and `IRONBAR_FILE_LOG=error`.
These default to `IRONBAR_LOG=info` and `IRONBAR_FILE_LOG=warn`.
Note that you cannot increase the file log verbosity above console verbosity.
File output can be found at `~/.local/share/ironbar/error.log`.
Log files can be found at `~/.local/share/ironbar/.log`.
## Status