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.<br>
<br>Tom Martin Norvang<br><br><div class="gmail_quote">2009/3/19 Ceki Gulcu <span dir="ltr">&lt;ceki@qos.ch&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Tom,<br>
<br>
The following mailing list archives which are all mentioned in <a href="http://slf4j.org/mailing-lists.html" target="_blank">http://slf4j.org/mailing-lists.html</a> are searchable:<br>
<br>
<a href="http://news.gmane.org/gmane.comp.java.slf4j.user" target="_blank">http://news.gmane.org/gmane.comp.java.slf4j.user</a><br>
<a href="http://marc.theaimsgroup.com/?l=slf4j-user" target="_blank">http://marc.theaimsgroup.com/?l=slf4j-user</a><br>
<a href="http://www.nabble.com/Slf4J---user-f13203.html" target="_blank">http://www.nabble.com/Slf4J---user-f13203.html</a><br>
<a href="http://www.mail-archive.com/user%40slf4j.org/" target="_blank">http://www.mail-archive.com/user%40slf4j.org/</a><br>
<br>
<br>
Which jar files have you placed on your class path?<br>
<br>
For FileAppender the file attribute should be:<div class="im"><br>
<br>
  &lt;file&gt;c:/testlog1.log&lt;/file&gt;<br>
<br></div><div><div></div><div class="h5">
Tom Martin Norvang wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi i am new to slf4j and have a few questions. I could not find out how to search the mailing list for older messages that might contain this subject. And i have searched everywhere online :)..almost.<br>
<br>
1. Where do log files go when using the slf4j.Logger, f.ex;<br>
<br>
import org.slf4j.Logger;<br>
import org.slf4j.LoggerFactory;<br>
<br>
public class Testing {<br>
       private static final Logger LOGGER = LoggerFactory.getLogger(Testing.class);<br>
<br>
    public static void main(String[] args) {<br>
               int value = 10;<br>
        LOGGER.debug(&quot;the variable value =&quot;+value);<br>
        LOGGER.debug(&quot;The value of value = &quot;+value);<br>
    }<br>
}<br>
<br>
I am currently using eclipse, project structure and have placed a logback.xml file under the project root folder. The logback.xml file is an example file from the slf4j homepage;<br>
&lt;configuration&gt;<br>
<br>
  &lt;appender name=&quot;FILE&quot; class=&quot;ch.qos.logback.core.FileAppender&quot;&gt;<br>
    &lt;file&gt;&quot;c:\testlog1.log&quot;&lt;/file&gt;<br>
<br>
    &lt;layout class=&quot;ch.qos.logback.classic.PatternLayout&quot;&gt;<br>
      &lt;Pattern&gt;%date %level [%thread] %logger{10} [%file:%line] %msg%n&lt;/Pattern&gt;<br>
    &lt;/layout&gt;<br>
  &lt;/appender&gt;<br>
<br>
  &lt;root&gt;<br>
    &lt;level value=&quot;debug&quot; /&gt;<br>
    &lt;appender-ref ref=&quot;FILE&quot; /&gt;<br>
  &lt;/root&gt;<br>
&lt;/configuration&gt;<br>
<br>
No complaining about the slf4j jar files either.<br>
The small application runs fine but i suspect that my logback.xml file is not in the right place and not read at all. I have tried to put it in several locations (JAVA_HOME, path, src folder etc). to no avail. I also did a search trough the whole disc, but no such file(testlog1.log). Any ideas what i am doing wrong. By the way i am on WinXP SP2 with JDK1.6.11. Installed.<br>

<br>
Regards Tom Martin<br>
<br>
<br>
</blockquote></div></div><font color="#888888">
-- <br>
Ceki Gülcü<br>
Logback: The reliable, generic, fast and flexible logging framework for Java.<br>
<a href="http://logback.qos.ch" target="_blank">http://logback.qos.ch</a><br>
_______________________________________________<br>
user mailing list<br>
<a href="mailto:user@slf4j.org" target="_blank">user@slf4j.org</a><br>
<a href="http://www.slf4j.org/mailman/listinfo/user" target="_blank">http://www.slf4j.org/mailman/listinfo/user</a><br>
</font></blockquote></div><br>