Skip to content

bklog: always enable trace id if it exists#5315

Merged
tonistiigi merged 1 commit intomoby:masterfrom
jsternberg:trace-id-in-log
Sep 9, 2024
Merged

bklog: always enable trace id if it exists#5315
tonistiigi merged 1 commit intomoby:masterfrom
jsternberg:trace-id-in-log

Conversation

@jsternberg
Copy link
Copy Markdown
Collaborator

Previous version of the detect package would only enable trace ids in the build log if tracing was in use. For practical purposes, there was always a tracer in use (either the recorder which was always enabled or one of the detected tracers).

When this package was refactored, the call to enable the trace id was accidentally removed.

This removes the option to enable or disable the trace id from the log and instead just always enables it since this was the behavior previously.

Fixes #5310.

Previous version of the detect package would only enable trace ids in
the build log if tracing was in use. For practical purposes, there was
always a tracer in use (either the recorder which was always enabled or
one of the detected tracers).

When this package was refactored, the call to enable the trace id was
accidentally removed.

This removes the option to enable or disable the trace id from the log
and instead just always enables it since this was the behavior
previously.

Signed-off-by: Jonathan A. Sternberg <[email protected]>
@tonistiigi tonistiigi merged commit c9d08dd into moby:master Sep 9, 2024
@jsternberg jsternberg deleted the trace-id-in-log branch September 10, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trace ID not printed in debug mode after upgrading to v0.15.1

3 participants