ppkarwasz opened a new pull request, #4719:
URL: https://github.com/apache/eventmesh/pull/4719
Fixes #4700.
### Motivation
As explained in #4700 libraries should only depend on logging APIs
(`log4j-api`, `slf4j-api`), not logging implementations (`log4j-core`,
`logback-classic`).
This allows application developers to add the logging backend of their
choice, without having to exclude multiple transitive dependencies.
### Modifications
This PR:
* Moves logging backends from the `runtimeClasspath` to `testRuntimeOnly`
in EventMesh artifacts,
* Adds exclusion rules to dependencies that force a specific logging
backend: RocketMQ and Spring Boot Starter depend on Logback, while Pulsar
depends on Log4j Core,
* Adds a generic exclusion rule for all known logging backends and bridges
between APIs,
* Rewrites the `dist` task to include Log4j Core and bridges from SLF4J and
JUL to the Log4j API.
### Documentation
- Does this pull request introduce a new feature? no
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]