java-tutorials/vraptor/src/main/resources/log4j.xml

37 lines
1017 B
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/xml/doc-files/log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="stdout" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %5p [%-20c{1}] %m%n" />
</layout>
</appender>
<category name="br.com.caelum">
<priority value="INFO" />
<appender-ref ref="stdout" />
</category>
<category name="org.hibernate">
<priority value="INFO" />
<appender-ref ref="stdout" />
</category>
<category name="org.jboss">
<priority value="INFO" />
<appender-ref ref="stdout" />
</category>
<category name="freemarker.cache">
<priority value="INFO" />
<appender-ref ref="stdout" />
</category>
<category name="freemarker.*">
<priority value="INFO" />
<appender-ref ref="stdout" />
</category>
</log4j:configuration>