[logback-user] Logback always writes to the console

Chad La Joie chad.lajoie at switch.ch
Wed Nov 14 13:13:25 CET 2007

If that is your whole file I would guess that it was one of two things:

- Something is trying to using the logback before it's configured and so 
  logback is using its default configuration (which logs to console)

- There is another logback.xml file on your classpath that does log to 
console and that is being loaded in addition to your configuration file

I'm using 0.9.8 and I don't experience this issue, so I don't think it's 
a bug.

Rene Reuter wrote:
> I’m using Logback 0.9.8. I’ve configured my logback.xml file only with a 
> FileAppender.
> But it always logs to the console too, why? I don’t want to see the logs 
> in the console.
> Do u know why?

Serving Swiss Universities
Chad La Joie, Software Engineer, Security
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
chad.lajoie at switch.ch, http://www.switch.ch

More information about the Logback-user mailing list