nodece opened a new pull request, #22607: URL: https://github.com/apache/pulsar/pull/22607
### Motivation #22391 upgrades the slf4j version to 2.0.13. When the users upgrade the broker/client library to the master version, #22391 breaks users who are using slf4j 1.x, and their application is unable to print logs. Maven has a scope feature, that can help us fix this issue. Import the slf4j dependency with `<scope>provided</scope>` in the pulsar, and then the users use the broker/client library, users can use any version of slf4j. ### Modifications - Switch the slf4j scope to `provided` from `compile` in the `pom.xml` - Switch the slf4j scope to `compile` from `provided` in the `distribution/server/pom.xml` and `distribution/shell/pom.xml` ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. --> - [x] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
