Previously, our logging code did not have the ability to recognize and
decode JSON formatted log files. This led to problems when retrieving
logs via API endpoints and when running commands such as merge-logs to
process logs from debug.zip files.
This commit adds support for the json, json-compact, json-fluent, and
json-fluent-compact formats via one generalized JSON decoder.
Resolves #66684
Release note (ops change, cli change): debug zip and merge-logs commands
will now work with JSON formatted logs.
Exalate commented:
Previously, our logging code did not have the ability to recognize and decode JSON formatted log files. This led to problems when retrieving logs via API endpoints and when running commands such as
merge-logs
to process logs from debug.zip files.This commit adds support for the json, json-compact, json-fluent, and json-fluent-compact formats via one generalized JSON decoder.
Resolves #66684
Release note (ops change, cli change): debug zip and merge-logs commands will now work with JSON formatted logs.
Jira issue: CRDB-14742
Jira Issue: DOC-3143
Jira Issue: DOC-3617