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

No longer working with Flogger #1

Open
mmnaseri opened this issue Feb 5, 2021 · 2 comments
Open

No longer working with Flogger #1

mmnaseri opened this issue Feb 5, 2021 · 2 comments

Comments

@mmnaseri
Copy link

mmnaseri commented Feb 5, 2021

Hi!

I am trying to use this against flogger 0.5.1 and this no longer seems to work due to some internal Flogger API changes:

java.lang.NoSuchMethodException: com.google.common.flogger.backend.system.DefaultPlatform.resolveAttribute(java.lang.String,java.lang.Class)
	at java.base/java.lang.Class.getDeclaredMethod(Class.java:2633)
	at com.agsimeonov.flogger.backend.fluentd.FluentdBackendFactory.resolveAttribute(FluentdBackendFactory.java:116)
	at com.agsimeonov.flogger.backend.fluentd.FluentdBackendFactory.create(FluentdBackendFactory.java:89)
	at com.google.common.flogger.backend.system.DefaultPlatform.getBackendImpl(DefaultPlatform.java:89)
	at com.google.common.flogger.backend.Platform.getBackend(Platform.java:175)
	at com.google.common.flogger.FluentLogger.forEnclosingClass(FluentLogger.java:71)
@agsimeonov
Copy link
Owner

agsimeonov commented Feb 5, 2021

Hi @mmnaseri thanks for reporting this. I will try and take a look this coming week and hopefully I can resolve it.

@mmnaseri
Copy link
Author

mmnaseri commented Feb 6, 2021

Cool. Thanks for looking into it. I tried to clone your repo and run the tests, but some of the tests had compile errors with 0.4. May be something wrong with my setup?

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

No branches or pull requests

2 participants