-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Open
Labels
kind/enhancementCategorizes a PR related to an enhancementCategorizes a PR related to an enhancementteam/sre
Milestone
Description
Description
When introducing tracing, KC introduced to log some context information on the console by naming explicitly the span and the trace ID.
In #39812, we added %X that would log all MDC parameters when enabling mdc logging, and would it be more general.
This should become the new default console log format.
Discussion
No response
Motivation
This is a breaking change, and we would add it in KC 27. Only having one log console format would simplify our code, and the log parsing of users because the log format wouldn't depend on specific features enabled.
Details
Users who prefer the old log format can still provide the preferred pattern as a parameter.
Metadata
Metadata
Assignees
Labels
kind/enhancementCategorizes a PR related to an enhancementCategorizes a PR related to an enhancementteam/sre