From 18e35bf4a5c945b1a36776805a510b219dc189ee Mon Sep 17 00:00:00 2001
From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date: Tue, 16 Feb 2021 07:38:57 +0100
Subject: [PATCH] docs: explain log level numbers (#8704)

---
 docs/usage/self-hosting.md | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/docs/usage/self-hosting.md b/docs/usage/self-hosting.md
index 1f96713493..e9b33dc91f 100644
--- a/docs/usage/self-hosting.md
+++ b/docs/usage/self-hosting.md
@@ -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   |
-- 
GitLab