JdbcMapper/samples/controls-webservices-blank/junit/log4j.xml

29 lines
957 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="BEEHIVE_FILE_LOG" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="beehive.log"/>
<param name="Append" value="true"/>
<param name="MaxFileSize" value="500000KB"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{DATE} %-5p %-15c{1} [%x]: %m%n"/>
</layout>
</appender>
<appender name="BEEHIVE_CONSOLE_LOG" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{DATE} %-5p %-15c{1} [%x]: %m%n"/>
</layout>
</appender>
<!-- Beehive -->
<category name="org.apache.beehive">
<priority value="warn"/>
<appender-ref ref="BEEHIVE_CONSOLE_LOG"/>
</category>
</log4j:configuration>