You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/02/26 15:53:44 UTC

svn commit: r631239 - /myfaces/orchestra/trunk/core/src/test/resources/log4j.xml

Author: skitching
Date: Tue Feb 26 06:53:43 2008
New Revision: 631239

URL: http://svn.apache.org/viewvc?rev=631239&view=rev
Log:
Add a log4j config file for unit tests

Added:
    myfaces/orchestra/trunk/core/src/test/resources/log4j.xml   (with props)

Added: myfaces/orchestra/trunk/core/src/test/resources/log4j.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/test/resources/log4j.xml?rev=631239&view=auto
==============================================================================
--- myfaces/orchestra/trunk/core/src/test/resources/log4j.xml (added)
+++ myfaces/orchestra/trunk/core/src/test/resources/log4j.xml Tue Feb 26 06:53:43 2008
@@ -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/">
+    <appender name="console" class="org.apache.log4j.ConsoleAppender">
+        <param name="Target" value="System.Err"/>
+        <layout class="org.apache.log4j.PatternLayout">
+            <!--
+            d date
+            p prioirty
+            X MDC Value
+            t threadname
+            c category-name
+            m message
+            -->
+            <param name="ConversionPattern" value="%-5p [%t] %c - %m\n"/>
+        </layout>
+    </appender>
+
+    <category name="org.apache.commons.beanutils">
+        <priority value="info"/>
+    </category>
+    <category name="org.apache.commons.digester">
+        <priority value="info"/>
+    </category>
+
+    <root>
+        <priority value="debug"/>
+
+        <appender-ref ref="console"/>
+    </root>
+
+</log4j:configuration>

Propchange: myfaces/orchestra/trunk/core/src/test/resources/log4j.xml
------------------------------------------------------------------------------
    svn:eol-style = native