Skip to content

Commit a04614e

Browse files
authored
Merge pull request #1032 from BBQing/add_log_format
Added log-format flag into v3.6 documentation in op-guide
2 parents 697eb65 + 984f501 commit a04614e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

content/en/docs/v3.6/op-guide/configuration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ The list of flags provided below may not be up-to-date due to ongoing developmen
205205
Specify 'stdout' or 'stderr' to skip journald logging even when running under systemd, or list of comma separated output targets.
206206
--log-level 'info'
207207
Configures log level. Only supports debug, info, warn, error, panic, or fatal.
208+
--log-format 'json'
209+
Configures log format. Only supports json, console.
208210
--enable-log-rotation 'false'
209211
Enable log rotation of a single log-outputs file target.
210212
--log-rotation-config-json '{"maxsize": 100, "maxage": 0, "maxbackups": 0, "localtime": false, "compress": false}'

content/en/docs/v3.7/op-guide/configuration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ The list of flags provided below may not be up-to-date due to ongoing developmen
205205
Specify 'stdout' or 'stderr' to skip journald logging even when running under systemd, or list of comma separated output targets.
206206
--log-level 'info'
207207
Configures log level. Only supports debug, info, warn, error, panic, or fatal.
208+
--log-format 'json'
209+
Configures log format. Only supports json, console.
208210
--enable-log-rotation 'false'
209211
Enable log rotation of a single log-outputs file target.
210212
--log-rotation-config-json '{"maxsize": 100, "maxage": 0, "maxbackups": 0, "localtime": false, "compress": false}'

0 commit comments

Comments
 (0)