feat(refactoring): Support Structured Logging (JSON) (#30170)

This commit is contained in:
Byron.wang
2026-01-03 19:46:46 -08:00
committed by GitHub
parent 822374eca5
commit 5362f69083
24 changed files with 1193 additions and 113 deletions

View File

@@ -502,6 +502,8 @@ LOG_FILE_BACKUP_COUNT=5
LOG_DATEFORMAT=%Y-%m-%d %H:%M:%S
# Log Timezone
LOG_TZ=UTC
# Log output format: text or json
LOG_OUTPUT_FORMAT=text
# Log format
LOG_FORMAT=%(asctime)s,%(msecs)d %(levelname)-2s [%(filename)s:%(lineno)d] %(req_id)s %(message)s