Skip to content
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

Log4j2Plugin.dat not generated for OpenTelemetryAppender #11499

Closed
rickardoberg opened this issue May 31, 2024 · 1 comment · Fixed by #11503
Closed

Log4j2Plugin.dat not generated for OpenTelemetryAppender #11499

rickardoberg opened this issue May 31, 2024 · 1 comment · Fixed by #11503
Labels
bug Something isn't working needs triage New issue that requires triage

Comments

@rickardoberg
Copy link

Describe the bug

The OpenTelemetryAppender does not generate a Log4jPlugin.dat, so it doesn't get discovered by Log4j. Please just add the log4j annotation processor to the build script so that this is created properly.

Steps to reproduce

Using the documented configuration with "packages" attribute causes unnecessary warnings on startup, since it is deprecated

Expected behavior

You should just generate the Log4jPlugin.dat file as any other Log4j plugin.

Actual behavior

Requires use of "packages" attribute. Which is Bad.

Javaagent or library instrumentation version

2.4.0-alpha

Environment

JDK:
OS:

Additional context

No response

@rickardoberg rickardoberg added bug Something isn't working needs triage New issue that requires triage labels May 31, 2024
@rickardoberg
Copy link
Author

Fantastic! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage New issue that requires triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant