Hi kwtan, see http://www.slf4j.org/faq.html
"SLF4J is a simple facade for logging systems allowing the end-user to plug-in the desired logging system at deployment time." So you can use log4j underneath. Make sure you have the following jars on the classpath: slf4j-api-1.4.3.jar slf4j-log4j12-1.4.3.jar log4j-1.2.x.jar then slf4j will use log4j, and log4j can be configured the usual way. Make sure you have only one slf4j binding on your classpath, namely slf4j-log4j12-1.4.3.jar (for example, remove slf4j-simple-x.x.jar from the classpath) also from the FAQ: "When using SLF4J, do I have to recompile my application to switch to a different logging system?" "No, you do not need to recompile your application. You can switch to a different logging system by removing the previous SLF4J binding and replacing it with the binding of your choice. For example, if you were using the NOP implementation and would like to switch to log4j version 1.2, simply replace slf4j-nop.jar with slf4j-log4j12.jar on your class path but do not forget to add log4j-1.2.x.jar as well. Want to switch to JDK 1.4 logging? Just replace slf4j-log4j12.jar with slf4j-jdk14.jar." Maarten On 9/7/07, kwtan <[EMAIL PROTECTED]> wrote: > > > I have no idea on how to use the slf4j framework to log it into a flat > file > using properties file! It is similar to log4j? > > Thank you! > -- > View this message in context: > http://www.nabble.com/slf4j-logging-tf4402442s16868.html#a12559048 > Sent from the Apache MINA Support Forum mailing list archive at Nabble.com > . > >