Tan Ka Ju wrote: > Hello Niklas, > > I was trying the sample of the SumUp in MINA1.1 using Netbeans > under WindowsXP, jdk1.5. > > My problem is I do not know where is the logfile that should be > generated by the SessionLog. Can you guide me? > Hi,
The SessionLog uses SLF4J which is a logging facade for various logging APIs (similar to Commons Logging). You probably have slf4j-nop.jar in your class path, right? In that case nothing will be logged. If you replace it with slf4j-simple.jar log messages with level INFO and higher will be logged to the console. If you want to use log4j you should use either slf4j-log4j12.jar or slf4j-log4j13.jar and then you just set up log4j as usual. You will find all these jars through the SLF4J home page as well as the manual: http://www.slf4j.org PS: I'm CCing this reply to the MINA mailing list. Please send your questions there in the future. It's the best way to get help on MINA. -- Niklas Therning www.spamdrain.net
