migrating a project from log4j to slf4j+log4j
I have a large web project that uses log4j directly, together with many 3rd-party libraries and a mix of logging libraries. our code base - uses log4j directly. Hibernate - uses slf4j, and the slf4j-log4j binding. Spring - uses commons-loggings. Thus, it uses the jcl-over-slf4j bridge api, slf4j itself, and slf4j-log4j binding. Other numerous libraries, using either commons loggings or log4j. I am considering migrating our own code base to slf4j api, but I am not sure if the benefits are strong enough and worth the effort. Currently I am aware of the following benefits: Cleaner api.