SLF4J , Simple Logging Facade for Java#
Steps#
- run the slf4j migrator
- add the slf4j-api.jar to the eclipse buildpath
- src change: log.fatal( ==> log.error(
- src change: slf4j log methods only accept Strings, so log.error(Exception) ==> log.error(Exception.toString())
- PropertyConfigurator.configure(props) all over the place (mostly in tests) ==> move log4j stmts from jspwiki.properties to separate log4j.properties (in classpath) ?
- NDC => MDC ?
- change build.xml so that slf4j-api.jar is added to WEB-INF/lib
- test with tomcat
- test with WebSphere (old JSPWiki version and new (slf4j) JSPWiki version
