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

Get rid of debug log messages complaining about missing OpenTelemetry marker classes #4085

Open
adinauer opened this issue Jan 21, 2025 · 0 comments

Comments

@adinauer
Copy link
Member

Description

e.g.:

DEBUG: Class not available:io.sentry.opentelemetry.agent.AgentlessSpringMarker
java.lang.ClassNotFoundException: io.sentry.opentelemetry.agent.AgentlessSpringMarker
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)

We can just pass a NoOpLogger to the LoadClass instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Discussion
Development

No branches or pull requests

1 participant