mirror of
https://github.com/containrrr/watchtower.git
synced 2026-02-08 16:34:21 +01:00
feat: allow logging output to use JSON formatter
Signed-off-by: GridexX <arsene582@gmail.com>
This commit is contained in:
parent
a5d7f23d2e
commit
be98119552
4 changed files with 56 additions and 11 deletions
|
|
@ -107,6 +107,17 @@ Environment Variable: WATCHTOWER_LOG_LEVEL
|
|||
Default: info
|
||||
```
|
||||
|
||||
## JSON Logging
|
||||
|
||||
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.
|
||||
|
||||
```text
|
||||
Argument: --json-logging
|
||||
Environment Variable: WATCHTOWER_JSON_LOGGING
|
||||
Type: Boolean
|
||||
Default: false
|
||||
```
|
||||
|
||||
## ANSI colors
|
||||
Disable ANSI color escape codes in log output.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue