mirror of
https://github.com/containrrr/watchtower.git
synced 2026-01-25 10:16:10 +01:00
switch to log-format flag
This commit is contained in:
parent
be98119552
commit
6b0c37f3d3
4 changed files with 109 additions and 59 deletions
|
|
@ -107,15 +107,15 @@ Environment Variable: WATCHTOWER_LOG_LEVEL
|
|||
Default: info
|
||||
```
|
||||
|
||||
## JSON Logging
|
||||
## Logging format
|
||||
|
||||
Enables the JSON log formatter for logging, changing the log output to JSON format. By default, the log output follows the standard text-based format.
|
||||
Sets what logging format to use for console output.
|
||||
|
||||
```text
|
||||
Argument: --json-logging
|
||||
Environment Variable: WATCHTOWER_JSON_LOGGING
|
||||
Type: Boolean
|
||||
Default: false
|
||||
Argument: --log-format, -l
|
||||
Environment Variable: WATCHTOWER_LOG_FORMAT
|
||||
Possible values: Auto, LogFmt, Pretty or JSON
|
||||
Default: Auto
|
||||
```
|
||||
|
||||
## ANSI colors
|
||||
|
|
@ -374,4 +374,4 @@ requests and may rate limit pull requests (mainly docker.io).
|
|||
Environment Variable: WATCHTOWER_WARN_ON_HEAD_FAILURE
|
||||
Possible values: always, auto, never
|
||||
Default: auto
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue