logging.xml 1.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
<!-- This is an example.  Make a copy of this file, and modify it for your need.  -->
<configuration> 
<!-- Set debug="true" to enable debugging for the logback logging framework itself -->
<!-- configuration debug="true" -->

  <!-- This appender writes into stdout -->
  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> 
    <encoder>
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>
  <logger name="uvm.refimpl.itpr" level="DEBUG" />

  <!-- This appender writes into stderr -->
  <appender name="STDERR" class="ch.qos.logback.core.ConsoleAppender"> 
    <target>System.err</target>
    <encoder>
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>

  <!-- Loggers are organised by packages.  uvm includes everything in Holstein. -->
  <logger name="uvm" level="INFO" />
  <logger name="uvm.refimpl.itpr" level="INFO" />  <!-- Set this to DEBUG to print execution traces. -->
  <logger name="uvm.refimpl.mem" level="INFO" />   <!-- Set this to DEBUG to print GC logs. -->

  <root level="INFO">
    <appender-ref ref="STDERR" />
  </root>
</configuration>
<!--
vim: ts=2 sw=2 sts=2 et
-->