logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe White <jwh...@asidejob.com>
Subject Hibernate and Logback
Date Sat, 11 Apr 2009 05:43:40 GMT

   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"?>

  <appender name="FILE" class="ch.qos.logback.core.FileAppender">

    <layout class="ch.qos.logback.classic.PatternLayout">
      <Pattern>%date %level [%thread] %logger{10} [%file:%line]  

  <appender name="STDOUT"
    <layout class="ch.qos.logback.classic.PatternLayout">

  <root level="info">
    <appender-ref ref="FILE" />
    <appender-ref ref="STDOUT" />

  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message