Logging
Use structured logging for consistent, searchable diagnostics across steps.
MDC Context
Attach pipeline identifiers to MDC so logs can be correlated across services:
java
MDC.put("pipelineId", pipelineId);
MDC.put("stepName", stepName);JSON Logging
Prefer JSON logs in production to integrate with log aggregation.
properties
quarkus.log.console.json=true
quarkus.log.console.json.pretty-print=falseLog Levels
- DEBUG: Development diagnostics
- INFO: Business events and step completion
- WARN: Recoverable issues
- ERROR: Failures and retries
Logging Standards
- Avoid logging full payloads
- Mask secrets and PII
- Keep messages consistent across steps