Skip to content

fix(coordinator): pretty-print startup config logs#3203

Open
nadeemb53 wants to merge 1 commit into
LFDT-Lineth:mainfrom
nadeemb53:fix/coordinator-pretty-print-config-logs
Open

fix(coordinator): pretty-print startup config logs#3203
nadeemb53 wants to merge 1 commit into
LFDT-Lineth:mainfrom
nadeemb53:fix/coordinator-pretty-print-config-logs

Conversation

@nadeemb53
Copy link
Copy Markdown
Contributor

@nadeemb53 nadeemb53 commented May 25, 2026

closes #2826

Note

Medium Risk
Changes how credentials appear in INFO logs; a masking regression could expose secrets in cluster logs, mitigated by dedicated tests.

Overview
Startup and --check-configs-only logging now prints indented, human-readable coordinator config via a new CoordinatorConfig.toPrettyLog() reflection renderer instead of dumping the raw object.

Masked values and Web3j private keys render as *** (with byte length for keys). Large maps (smartContractErrors, gas price time-of-day multipliers) collapse to entry counts at INFO with a hint to enable TRACE; full maps move to TRACE-only lines in CoordinatorApp.

A regression test loads docker fixture configs and asserts passwords and fixture private-key hexes never appear in either summarized or full pretty output.

Reviewed by Cursor Bugbot for commit af47cc8. Bugbot is set up for automated code reviews on this repo. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Coordinator - Startup log configs in human friendly format

1 participant