I'm glad you figured out issue out, but I suggest two things: 1. Please don't email developers directly, only the list. While you did send to the list, you CC'd my individual email. That's bad form.
2. Unless your issue is with Log4j, you probably shouldn't be posting the Log4j user list. You state that your issue is with Logback. Logback is *not* part of the Log4j project. I suggest that you post to Logback's user list for Logback related issues in the future. Jake On 4/10/2009 11:59 PM, Joe White wrote: > > > I figured it out. > > <logger name="org.hibernate"> > <level value="error"/> > <appender-ref ref="FILE"/> > </logger> > > Quoting Joe White <[email protected]>: > >> >> >> I'm using Hibernate with logback, and it appears that Hibernate is >> stuck in DEBUG logging mode. The documentation states that it works >> (Hibernate that is) with logback, but I don't know how to turn it to >> error only. >> >> Here is my logback.xml file. >> >> <?xml version="1.0" encoding="UTF-8"?> >> <configuration> >> >> <appender name="FILE" class="ch.qos.logback.core.FileAppender"> >> <file>myApp.log</file> >> >> <layout class="ch.qos.logback.classic.PatternLayout"> >> <Pattern>%date %level [%thread] %logger{10} [%file:%line] >> %msg%n</Pattern> >> </layout> >> </appender> >> >> <appender name="STDOUT" >> class="ch.qos.logback.core.ConsoleAppender"> >> <layout class="ch.qos.logback.classic.PatternLayout"> >> <Pattern>%msg%n</Pattern> >> </layout> >> </appender> >> >> <root level="info"> >> <appender-ref ref="FILE" /> >> <appender-ref ref="STDOUT" /> >> </root> >> </configuration> > > -- > "We are what we repeatedly do. Excellence, then, is not an act, but a > habit." > Aristotle > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
