W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

2006/unicorn/WebContent/WEB-INF/conf log4j.xml,1.7,1.8

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 30 Sep 2009 17:22:31 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mt2sp-0006Yr-VV@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/conf
In directory hutz:/tmp/cvs-serv25207/WebContent/WEB-INF/conf

Modified Files:
	log4j.xml 
Log Message:
added velocity log in velocity.log

Index: log4j.xml
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/conf/log4j.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- log4j.xml	23 Sep 2009 15:14:23 -0000	1.7
+++ log4j.xml	30 Sep 2009 17:22:29 -0000	1.8
@@ -15,6 +15,15 @@
 		</layout>
 	</appender>
 	
+	<appender name="velocity_log" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/velocity.log" />
+		<param name="MaxFileSize" value="1024KB" />
+		<param name="MaxBackupIndex" value="1" />
+		<layout class="org.apache.log4j.PatternLayout">
+			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %m%n" />
+		</layout>
+	</appender>
+	
 	<appender name="level-error" class="org.apache.log4j.RollingFileAppender">
 		<param name="File" value="${unicorn.home}/WEB-INF/logs/level/error.log" />
 		<param name="MaxFileSize" value="1024KB" />
@@ -168,6 +177,7 @@
 
 	<logger name="org.apache.velocity">
 		<level value="debug"/>
+		<appender-ref ref="velocity_log" />
 	</logger>
 
 	<logger name="org.w3c.unicorn.Framework">
Received on Wednesday, 30 September 2009 17:22:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT