I put the following jars in my lib:

slf4j-api-1.6.1.jar
logback-examples-0.9.28.jar
logback-classic-0.9.28.jar
logback-access-0.9.28.jar
logback-core-0.9.28.jar
 
I set my classpath to the location of logback.xml
 
i updated my object call for the logging:
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import ch.qos.logback.classic.LoggerContext;
import ch.qos.logback.core.util.StatusPrinter;
...
...
protected final Logger logger = LoggerFactory.getLogger(getClass());
 
 
In the stdout.log I'm getting all log statements as well as initial 
configuration values like:
16:26:45,860 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could 
NOT find resource [logback.groovy]
16:26:45,861 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could 
NOT find resource [logback-test.xml]
etc..
etc..
 


-----Original Message-----
From: "Ceki Gülcü" <[email protected]>
Sent: Tuesday, September 27, 2011 2:57pm
To: "logback users list" <[email protected]>
Subject: Re: [logback-user] everything logged to stdout.log as well as log files



On 27/09/2011 10:55 PM, Oliver Gottwald wrote:
> It appears that all my log outputs are going to the stdout.log (the
> problem) and my defined log files.
>
> Does anyone know a xml tag i need to use to turn off stdout.log output
> via the logback.xml file?

Do you invoke joran yourself?
-- 
http://twitter.com/ceki
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to