Author: manik.surtani(a)jboss.com
Date: 2008-06-03 10:50:13 -0400 (Tue, 03 Jun 2008)
New Revision: 5941
Modified:
core/trunk/src/test/resources/log4j.xml
Log:
Cleaned up log4j.xml
Modified: core/trunk/src/test/resources/log4j.xml
===================================================================
--- core/trunk/src/test/resources/log4j.xml 2008-06-03 12:55:32 UTC (rev 5940)
+++ core/trunk/src/test/resources/log4j.xml 2008-06-03 14:50:13 UTC (rev 5941)
@@ -1,35 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-<!-- ===================================================================== -->
-<!-- -->
-<!-- Log4j Configuration -->
-<!-- -->
-<!-- ===================================================================== -->
-
-<!-- $Id$ -->
-
<!--
- | For more configuration infromation and examples see the Jakarta Log4j
- | owebsite:
http://jakarta.apache.org/log4j
+ For more configuration infromation and examples see the Apache Log4j website:
http://logging.apache.org/log4j/
-->
<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="false">
- <!-- ================================= -->
- <!-- Preserve messages in a local file -->
- <!-- ================================= -->
-
<!-- A time/date based rolling appender -->
<appender name="FILE"
class="org.apache.log4j.DailyRollingFileAppender">
<param name="File" value="../jbosscache.log"/>
- <param name="Append" value="false"/>
+ <param name="Append" value="true"/>
<!-- Rollover at midnight each day -->
<param name="DatePattern"
value="'.'yyyy-MM-dd"/>
<!-- Rollover at the top of each hour
- <param name="DatePattern"
value="'.'yyyy-MM-dd-HH"/>
+ <param name="DatePattern"
value="'.'yyyy-MM-dd-HH"/>
-->
<param name="Threshold" value="DEBUG"/>
@@ -43,10 +30,6 @@
</layout>
</appender>
- <!-- ============================== -->
- <!-- Append messages to the console -->
- <!-- ============================== -->
-
<appender name="CONSOLE"
class="org.apache.log4j.ConsoleAppender">
<param name="Threshold" value="TRACE"/>
<param name="Target" value="System.out"/>
@@ -66,6 +49,10 @@
<priority value="WARN"/>
</category>
+ <category name="org.jboss.cache.factories">
+ <priority value="WARN"/>
+ </category>
+
<category name="org.jboss.tm">
<priority value="WARN"/>
</category>
@@ -79,7 +66,7 @@
<!-- ======================= -->
<root>
- <!-- <appender-ref ref="CONSOLE"/> -->
+ <!--<appender-ref ref="CONSOLE"/>-->
<appender-ref ref="FILE"/>
</root>