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

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 UTC