Since stripes comes with commong-logging. What are my options in using stripes in a web applications without commons logging. How can I replace it with sl4j logging library?
Asked
Active
Viewed 434 times
1 Answers
7
In order to redirect Commons Logging log to SLF4J, you need to remove Commons Logging from the classpath and add JCL-over-SLF4J bridge.
Here you can find a solution of similar problem for Spring: Logging Dependencies in Spring.

axtavt
- 239,438
- 41
- 511
- 482
-
This page gives an explanation of how to proceed : http://www.slf4j.org/legacy.html – JB Nizet Feb 14 '11 at 10:58
-
1Thanks. Do you think that this is a flaw in the Stripes framework to be dependent on commons-logging? – Basil Musa Feb 14 '11 at 12:31
-
It really does not matter what kind of logging a Java library uses, slf4j can handle them all fine. – Kdeveloper Feb 15 '11 at 19:03