Description
Grzegorz Borkowski opened SPR-5327 and commented
Currently Spring Framework depends on Commons-Logging. All of us know that for long time Commons-Logging has very bad reputation and is the source of many problems, bug, memory leaks etc.
The SLF4j is the newer implementation of similar idea, and many people claim it works much better than Commons-Logging. It contain even some adapter for Commons-Logging users, allowing for gradual transition. Perhaps with Spring 3, along with migration to Java 5, is the best time to migrate also to SLF4J and remove dependency on Commons-Logging?
In fact, you can probably do it somehow automatically, writing the script that will replace in all java files the imports and logger types.
Affects: 3.0 M4
Attachments:
- SPR-5327.patch (511.88 kB)
Issue Links:
- Revisit subsystem-oriented logging [SPR-8122] #12774 Revisit subsystem-oriented logging
- Revisit Commons Logging vs java.util.logging vs SLF4J vs Log4j 2 [SPR-14512] #19081 Revisit Commons Logging vs java.util.logging vs SLF4J vs Log4j 2
Referenced from: commits f4763a8, 1a06b6a, ad3fa50, 604a9f0, b7e37dd, 1202f67, 0400ccc
20 votes, 13 watchers