Skip to content

Commit

Permalink
docs: explain log level numbers (#8704)
Browse files Browse the repository at this point in the history
  • Loading branch information
HonkingGoose committed Feb 16, 2021
1 parent 8b0f0ab commit 18e35bf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/usage/self-hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,3 +421,18 @@ spec:

It's recommended to configure `LOG_LEVEL=debug` and `LOG_FORMAT=json` in environment if you are ingesting/parsing logs into another system.
Debug logging is usually necessary for any debugging, while JSON format will mean that the output is parseable.

### About the log level numbers

When you use `LOG_LEVEL=debug` and `LOG_FORMAT=json`, Renovate uses numbers in the `level` field.

The logging level output is controlled by the Bunyan logging library.

| Level | Meaning |
| ----: | ------- |
| 10 | trace |
| 20 | debug |
| 30 | info |
| 40 | warn |
| 50 | error |
| 60 | fatal |

0 comments on commit 18e35bf

Please sign in to comment.