Skip to content
Snippets Groups Projects
Commit 6aa86d32 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

docs: LOG_LEVEL and LOG_FORMAT

Closes #6861
parent bcaaee50
No related branches found
No related tags found
No related merge requests found
...@@ -348,3 +348,7 @@ spec: ...@@ -348,3 +348,7 @@ spec:
name: renovate-env name: renovate-env
restartPolicy: Never restartPolicy: Never
``` ```
## Logging
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.
...@@ -98,6 +98,10 @@ The `git` commands are run locally in the cloned repo instead of globally to red ...@@ -98,6 +98,10 @@ The `git` commands are run locally in the cloned repo instead of globally to red
## logLevel ## logLevel
It's recommended to run at debug level if you can, and configure it using the environment variable `LOG_LEVEL=debug`. By configuring using the environment it means that debug logging starts from the beginning of the app, while if you configure it using file config then the debug logging can only start after the file config is parsed.
Additionally, if you configure `LOG_FORMAT=json` in env then logging will be done in JSON format instead of "pretty" format, which is usually better if you're doing any ingestion or parsing of the logs.
## onboarding ## onboarding
Set this to `false` if (a) you configure Renovate entirely on the bot side (i.e. empty `renovate.json` in repositories) and (b) you wish to run Renovate on every repository the bot has access to, and (c) you wish to skip the onboarding PRs. Set this to `false` if (a) you configure Renovate entirely on the bot side (i.e. empty `renovate.json` in repositories) and (b) you wish to run Renovate on every repository the bot has access to, and (c) you wish to skip the onboarding PRs.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment