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

docs: SLF4J API incompability docs #32390

Merged
merged 3 commits into from Apr 22, 2024
Merged

docs: SLF4J API incompability docs #32390

merged 3 commits into from Apr 22, 2024

Conversation

johanandren
Copy link
Member

No description provided.

## 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.
Copy link
Member

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?

Copy link
Member Author

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?

Copy link
Member

@patriknw patriknw left a 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

Copy link
Member

@octonato octonato left a 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>
@johanandren johanandren merged commit 805a6fa into main Apr 22, 2024
5 checks passed
@johanandren johanandren deleted the wip-slf4j-problems-docs branch April 22, 2024 12:39
@johanandren johanandren added this to the 2.9.3 milestone Apr 22, 2024
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

Successfully merging this pull request may close these issues.

None yet

3 participants