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
docs: SLF4J API incompability docs #32390
Conversation
## SLF4J API compatibility | ||
|
||
The SLF4J API broke binary compatibility between versions 1.7 and 2.0. Akka supports SLF4J 1.7 however many libraries | ||
and logger backends have upgraded to SLF4J 2.0 which will cause problems if introduced in an Akka project. |
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.
Is that really the case? Isn't the main problem when using incompatible slf4j-api and logger impl (logback) dependencies?
I thought it would still work if bumping both api and impl to a compatible latest version?
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.
You are right, I verified. Updated to cover both options but maybe we should just recommend bumping logging backend instead?
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.
LGTM, I think it's fine to let the user choose here, until we have updated #32364
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.
Looks good, but found a little typo.
Co-authored-by: Renato Cavalcanti <renato@cavalcanti.be>
No description provided.