Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
1.1.7
Description
We are trying to use SLF4J with Logback in our application, and we want to implement our own Logger to have our customized logic.
We are able to do it when using Log4j with SLF4J, the way we are doing in Log4j is excluding their implementation of SLF4J jar, and have our implementation of StaticLoggerBinder to return a customized LoggerFactory, inside our implementation of LoggerFactory, we wrap log4j logger with our Logger, so we can customize the logger APIs, when we are trying to copy the way we are doing in Log4j into Logback, we are out of luck, since log4j-classic.jar include StaticLoggerBinder.
Can we move the StaticLoggerBinder into a different jar?