[logback-user] simple question driving me crazy..

Alex Hoyos madhoyos at gmail.com
Wed Sep 19 17:41:23 CEST 2007


I need to have different ROOT logger levels (INFO,DEBUG,WARN,etc) to
different appenders (file..)

something like:


<configuration>

<!--  .....  appender defintitions ---- >

  <root>
    <level value="debug" />
    <appender-ref ref="STDOUT" />
  </root>

   <another root???>
    <level value="error" />
    <appender-ref ref="errorLog" />
    </root>


</configuration>


But I'm not sure how to do this syntax in the XML config file.  Looked
through the documentation and examples, and I did not see it.
Any one can help, I appreciate it...


-- 
Regards,

Alex Hoyos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20070919/2e6484ed/attachment.htm 


More information about the Logback-user mailing list