-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split out log4j appender #4907
Split out log4j appender #4907
Conversation
dependencies { | ||
compileOnly("io.opentelemetry:opentelemetry-sdk-logs") | ||
|
||
library("org.apache.logging.log4j:log4j-core:2.13.2") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As nobody in its right mind is going to use this version of log4j, should we just start with 2.16
? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ya, I think this is the only instrumentation that targets a "patch" version too, will do this in follow-up 👍
@@ -3,16 +3,11 @@ plugins { | |||
} | |||
|
|||
dependencies { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this module include implementation(project("...:log4j-2.13.2:library"))
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this case is a bit odd. the autoconfigure
instrumentation doesn't enable the appender (library
) instrumentation. another option is to rename library-autoconfigure
to library-context-data
.... I'll open an issue to discuss and track
Resolves #4780