Skip to content

Remove logging instrumentation#803

Merged
iNikem merged 1 commit intoopen-telemetry:masterfrom
trask:remove-logging-instrumentation
Jul 27, 2020
Merged

Remove logging instrumentation#803
iNikem merged 1 commit intoopen-telemetry:masterfrom
trask:remove-logging-instrumentation

Conversation

@trask
Copy link
Copy Markdown
Member

@trask trask commented Jul 27, 2020

Closes #720

@trask trask marked this pull request as ready for review July 27, 2020 06:01
@iNikem
Copy link
Copy Markdown
Contributor

iNikem commented Jul 27, 2020

I am somewhat confused about logging story :) These were instrumentations to create spans from log messages, right? The story of injecting traceId/spanId into logging context is a separate story and was recently done by @anuraaga in java repo, right? Do we want to provide the same injecting functionality for earlier versions of log libraries?

@anuraaga
Copy link
Copy Markdown
Contributor

I think we definitely want to add injection to older libraries. Most tracers do it with scope decorators (callbacks run when creating / closing scope) but AFAIU SDK currently doesn't provide that - so much more work than the log4j2 plugin

@iNikem iNikem merged commit 6508ffc into open-telemetry:master Jul 27, 2020
@trask
Copy link
Copy Markdown
Member Author

trask commented Jul 27, 2020

AFAIU SDK currently doesn't provide that

Ya, see open-telemetry/opentelemetry-java#922 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove log instrumentation

3 participants