W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2011

unicorn commit: ~ added critical logger and appender

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 24 Feb 2011 15:23:02 +0000
Message-Id: <E1Psd1y-0003Xa-Kr@mcbain.w3.org>
To: Unicorn Updates <www-validator-cvs@w3.org>
changeset:   1619:087c633956da
tag:         tip
user:        Thomas Gambet <tgambet@w3.org>
date:        Thu Feb 24 10:21:54 2011 -0500
files:       WebContent/WEB-INF/conf/unicorn_log4j.xml.default
description:
~ added critical logger and appender


diff -r 7992d9a5fa1f -r 087c633956da WebContent/WEB-INF/conf/unicorn_log4j.xml.default
--- a/WebContent/WEB-INF/conf/unicorn_log4j.xml.default	Thu Feb 24 09:36:28 2011 -0500
+++ b/WebContent/WEB-INF/conf/unicorn_log4j.xml.default	Thu Feb 24 10:21:54 2011 -0500
@@ -175,6 +175,15 @@
 		</layout>
 	</appender>	
 
+	<appender name="critical" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/critical.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>	
+
 	<logger name="org.apache.velocity">
 		<level value="debug"/>
 		<appender-ref ref="velocity_log" />
@@ -225,6 +234,10 @@
 		<appender-ref ref="package-util" />
 	</logger>
 	
+	<logger name="Critical">
+		<appender-ref ref="critical" />
+	</logger>
+	
 	<root>
 		<level value="info"/>
 		<appender-ref ref="level-error" />
Received on Thursday, 24 February 2011 15:23:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:45 UTC