Skip to content

Commit

Permalink
docs(readme): improve info about logging
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeStanger committed Feb 14, 2024
1 parent f68d95a commit e26e213
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e26e213

Please sign in to comment.