-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Open
Description
rocketmq-tools depends on logback-classic, which includes a StaticLoggerBinder
class which binds slf4j to logback.
This binding shouldn't be made by a library since only one binding can exist in the entire application, so any application that uses multiple libraries may have inconsistent bindings. The binding should be chosen only by the final application (i.e., the person implementing main()
).
This, for example, causes warnings in openmessaging/benchmark which have chosen log4j binding, but the logback binding included from rocketmq causes a conflict.
It rocketmq-tools depended on logback-core instead, it would not include the slf4j binding which is one way to solve this problem.
ppkarwasz