
I was able to narrow the output for displaying both in my log files and stdout. It was something in my code dumping to stdout.log. Is there a way to remove the info debugs from the stdout.log via the logback.xml? They are making the stdout large. 16:35:47,412 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] 16:35:47,413 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 16:35:47,413 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/logback.xml] etc.. etc.. etc.. -----Original Message----- From: "Oliver Gottwald" <oliver@drachmatech.com> Sent: Tuesday, September 27, 2011 3:33pm To: "logback users list" <logback-user@qos.ch> Subject: Re: [logback-user] everything logged to stdout.log as well as log files 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ü" <ceki@qos.ch> Sent: Tuesday, September 27, 2011 2:57pm To: "logback users list" <logback-user@qos.ch> 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 Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user