Author: nbelaevski
Date: 2009-07-17 10:14:23 -0400 (Fri, 17 Jul 2009)
New Revision: 14952
Added:
root/examples/trunk/components/core-demo/src/main/resources/log4j.xml
Modified:
root/examples/trunk/components/core-demo/pom.xml
Log:
Resources:
- core-demo updated
Modified: root/examples/trunk/components/core-demo/pom.xml
===================================================================
--- root/examples/trunk/components/core-demo/pom.xml 2009-07-17 14:13:16 UTC (rev 14951)
+++ root/examples/trunk/components/core-demo/pom.xml 2009-07-17 14:14:23 UTC (rev 14952)
@@ -32,6 +32,17 @@
<artifactId>ehcache</artifactId>
<version>1.6.0</version>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.5.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>1.5.8</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<properties>
Added: root/examples/trunk/components/core-demo/src/main/resources/log4j.xml
===================================================================
--- root/examples/trunk/components/core-demo/src/main/resources/log4j.xml
(rev 0)
+++ root/examples/trunk/components/core-demo/src/main/resources/log4j.xml 2009-07-17
14:14:23 UTC (rev 14952)
@@ -0,0 +1,19 @@
+<?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.out" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"
/>
+ </layout>
+ </appender>
+ <logger name="org.richfaces">
+ <level value="debug" />
+ </logger>
+ <root>
+ <priority value="info" />
+ <appender-ref ref="console" />
+ </root>
+
+</log4j:configuration>
\ No newline at end of file