Logging
smarter logs, better insights
Structured Logging for SAP Commerce
Supercharge your logs with structured, contextual, and actionable insights.
Our logging extension enriches every single log entry with additional context attributes. Say goodbye to guesswork and hello to clarity, traceability, and faster debugging.
Features
Why choose this extension?
- Context-rich logs
Automatically attaches key identifiers like
userPk
,sessionId
,requestId
- and many more - to every log line. - Dynamic Runtime Control Enable or disable logging on demand with runtime toggles. No redeploys required.
- Seamless ELK integration Logs are MDC-enriched, making them instantly searchable and filterable in Kibana.
- Minimal setup Easy to integrate with your existing extensions using Spring profiles and a few config changes.
Ready
Designed for Real-World Use Cases
- DevOps Ready Integrates effortlessly with ELK stack; no extra configuration needed to surface MDC values in Kibana dashboards.
- Customizable and Extensible Add new log attributes, convertors or fine-tune log pointcuts to match your custom business logic.
- Safe by Design Carefully scoped to avoid interference with platform internals—custom cron jobs recommended for AOP on jobs.
Deploy
Quick Integration
- Drop in the extension via
localextensions.xml
. - Enable desired logging profiles.
- Deploy and refresh log indexes.
- Start seeing clarity, structure, and context in every log line.
Audience
Example Use Cases
- End-to-end request tracing across layers
- Faster root cause analysis
- Audit web session activity per session, user or cart.
- Correlate API and frontend calls to backend logs via
requestId
.