Tom,

It appears that you have misunderstood the purpose of SLF4J. If you
place slf4j-jdk14-1.5.6.jar then slf4j-api will bind with
java.util.logging. Logback will not be used. Only if you place
logback-core.jar and logback-classic.jar on your class path (but not
slf4j-jdk14-1.5.6.jar) will SLF4J API bind with logback. SLF4J binds
with one and only one underlying logging API (per JVM launch).

HTH,


Tom Martin Norvang wrote:
Thank you for the mail info. If you are asking about wich slf4j jar i placed the slf4j-api-1.5.6.jar and slf4j-jdk14-1.5.6.jar at the root: c:\ alongside the logback.xml. The classpath variable contains a dot (.) and a ....\jre\ext\QTJava.zip. So i am not sure if the . (dot) represents the root directory og current disk or system disk where OS recide, i have os on E: and another disk c:. But anyways i did add the jars under project properties as external jars and the Test class compiles and runs without error, it just that no log file appear anywhere.

Tom Martin Norvang

--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
_______________________________________________
user mailing list
user@slf4j.org
http://www.slf4j.org/mailman/listinfo/user

Reply via email to