BTM ships with SLF4J which is a logging facade much like Apache Commons Logging but it's safe to use in application servers unlike Commons Logging which suffers from complex classloader issues.
By default, BTM is shipped with slf4j-jdk14-1.5.8.jar which is the the JSR 047 logging API (aka JDK 1.4 logging) wrapper. If you want to use another logger, simply delete the slf4j-jdk14-1.5.8.jar file and replace it with any one from this list:
- slf4j-jdk14-1.5.8.jar for JSR 047 logging.
- slf4j-log4j12-1.5.8.jar for Apache Log4J 1.2.x.
- slf4j-nop-1.5.8.jar for no logging (logs are silently dropped).
- slf4j-simple-1.5.8.jar for simple
You will also need to put the slf4j-api-1.5.8.jar file in your classpath as well, no matter which one of the above jars you choose.
Those jars come from the 1.5.8 distribution of SLF4J.