-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed
Labels
theme: observabilityIssues related to observabilityIssues related to observabilitytype: enhancementA general enhancementA general enhancement
Milestone
Description
Right now, as documented users have to set this in their config to get span id and trace ids in logs:
logging.pattern.level=%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]
Besides that it abuses the logging level pattern, it is not a good developer experience.
I would prefer it to be auto-configured in the case a Tracer
bean is available. Not sure if this is technically feasible.
We should additionally introduce a logging.pattern.correlation
property which can be used.
theryanwatson, javaorca, LeonStoldt, dominik-kovacs, aksh1618 and 2 more
Metadata
Metadata
Assignees
Labels
theme: observabilityIssues related to observabilityIssues related to observabilitytype: enhancementA general enhancementA general enhancement