gnodet commented on PR #12697: URL: https://github.com/apache/maven/pull/12697#issuecomment-5694912655
One format worth considering for the machine-readable console mode: **logfmt**. `level=INFO mojo=maven-compiler-plugin:3.13:compile module=my-app msg="Compiling 42 source files"` It sits nicely between plain text (human-readable) and JSON lines (fully structured): parseable by Loki, Vector, Grafana out of the box, but still legible with a plain `cat`. Could be a `--console=logfmt` option alongside the existing `plain/rich/verbose/machine` modes. Note: this is distinct from the JSON build report in #12695 — that one needs to stay JSON because of its hierarchical structure (modules → executions → events). Logfmt makes sense for the *live log stream*, not the final report. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
