Author: alessio.soldano(a)jboss.com
Date: 2012-06-17 07:18:37 -0400 (Sun, 17 Jun 2012)
New Revision: 425
Added:
core/trunk/core-cxf/src/test/resources/test-log4j.xml
Log:
Adding log4j.xml for core-cxf tests
Added: core/trunk/core-cxf/src/test/resources/test-log4j.xml
===================================================================
--- core/trunk/core-cxf/src/test/resources/test-log4j.xml (rev 0)
+++ core/trunk/core-cxf/src/test/resources/test-log4j.xml 2012-06-17 11:18:37 UTC (rev
425)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/"
+debug="false">
+
+ <appender name="FILE" class="org.apache.log4j.FileAppender">
+ <errorHandler
class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/>
+ <param name="File" value="target/test.log"/>
+ <param name="Append" value="false"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d %-5p [%c]
%m%n"/>
+
+ <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+ <param name="ConversionPattern" value="%d %-5r %-5p [%c]
(%t:%x) %m%n"/>
+ -->
+ </layout>
+ </appender>
+ <category name="org.jboss">
+ <priority value="DEBUG"/>
+ </category>
+ <category name="org.apache.cxf">
+ <priority value="DEBUG"/>
+ </category>
+ <root>
+ <priority value="DEBUG"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>