unicorn commit: moved and renamed log4j.xml

changeset:   1246:0657182b8aff
user:        Thomas Gambet <tgambet@w3.org>
date:        Tue Jun 15 17:17:54 2010 -0400
files:       WebContent/WEB-INF/conf/log4j/log4j.xml.default WebContent/WEB-INF/conf/unicorn_log4j.xml.default
description:
moved and renamed log4j.xml


diff -r 453b563e6b44 -r 0657182b8aff WebContent/WEB-INF/conf/log4j/log4j.xml.default
--- a/WebContent/WEB-INF/conf/log4j/log4j.xml.default	Tue Jun 15 14:52:44 2010 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,239 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE log4j:configuration SYSTEM "../resources/schemas/log4j.dtd">
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
-	<appender name="gui" class="org.apache.log4j.lf5.LF5Appender">
-		<param name="MaxNumberOfRecords" value="10000" />
-		<param name="CallSystemExitOnClose" value="false" />
-		<param name="Threshold" value="debug" />
-	</appender>
-
-	<appender name="console" class="org.apache.log4j.ConsoleAppender">
-		<param name="Threshold" value="trace" />
-		<layout class="org.apache.log4j.PatternLayout">
-			<param name="ConversionPattern" value="%-5p (%F:%L) : %m%n" />
-		</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" />
-		<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>
-		<filter class="org.apache.log4j.varia.LevelMatchFilter">
-			<param name="LevelToMatch" value="error" />
-			<param name="AcceptOnMatch" value="true" />
-		</filter>
-		<filter class="org.apache.log4j.varia.DenyAllFilter" />
-	</appender>
-
-	<appender name="level-warning" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/level/warning.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>
-		<filter class="org.apache.log4j.varia.LevelMatchFilter">
-			<param name="LevelToMatch" value="warning" />
-			<param name="AcceptOnMatch" value="true" />
-		</filter>
-		<filter class="org.apache.log4j.varia.DenyAllFilter" />
-	</appender>
-	
-	<appender name="level-info" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/level/info.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>
-		<filter class="org.apache.log4j.varia.LevelMatchFilter">
-			<param name="LevelToMatch" value="info" />
-			<param name="AcceptOnMatch" value="true" />
-		</filter>
-		<filter class="org.apache.log4j.varia.DenyAllFilter" />
-	</appender>
-	
-	<appender name="level-debug" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/level/debug.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>
-		<filter class="org.apache.log4j.varia.LevelMatchFilter">
-			<param name="LevelToMatch" value="debug" />
-			<param name="AcceptOnMatch" value="true" />
-		</filter>
-		<filter class="org.apache.log4j.varia.DenyAllFilter" />
-	</appender>
-	
-	<appender name="level-trace" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/level/trace.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>
-		<filter class="org.apache.log4j.varia.LevelMatchFilter">
-			<param name="LevelToMatch" value="trace" />
-			<param name="AcceptOnMatch" value="true" />
-		</filter>
-		<filter class="org.apache.log4j.varia.DenyAllFilter" />
-	</appender>
-	
-	<appender name="package-unicorn" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/all.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="package-action" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/action.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="package-contract" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/contract.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="package-input" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/input.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="package-output" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/output.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="package-request" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/request.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="package-response" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/response.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="package-tasklist" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/tasklist.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="package-util" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/util.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" />
-	</logger>
-
-	<logger name="org.w3c.unicorn.Framework">
-		<level value="debug"/>
-	</logger>
-	
-	<logger name="org.w3c.unicorn">
-		<level value="debug"/>
-		<appender-ref ref="package-unicorn" />
-	</logger>
-	
-	 <logger name="org.w3c.unicorn.action">
-		<appender-ref ref="package-action" />
-	</logger>
-	
-	<logger name="org.w3c.unicorn.contract">
-		<appender-ref ref="package-contract" />
-	</logger>
-	
-	<logger name="org.w3c.unicorn.input">
-		<appender-ref ref="package-input" />
-	</logger>
-	
-	<logger name="org.w3c.unicorn.output">
-		<appender-ref ref="package-output" />
-	</logger>
-	
-	<logger name="org.w3c.unicorn.request">
-		<appender-ref ref="package-request" />
-	</logger>
-	
-	<logger name="org.w3c.unicorn.response">
-		<appender-ref ref="package-response" />
-	</logger>
-	
-	<logger name="org.w3c.unicorn.tasklist">
-		<appender-ref ref="package-tasklist" />
-	</logger>
-	
-	<logger name="org.w3c.unicorn.tasklistree">
-		<appender-ref ref="package-tasklist" />
-	</logger>
-	
-	<logger name="org.w3c.unicorn.util">
-		<appender-ref ref="package-util" />
-	</logger>
-	
-	<root>
-		<level value="all"/>
-		<appender-ref ref="level-error" />
-		<appender-ref ref="level-warning" />
-		<appender-ref ref="level-info" />
-		<appender-ref ref="level-debug" />
-		<appender-ref ref="level-trace" />
-		<appender-ref ref="console" />
-		<!-- <appender-ref ref="gui" /> -->
-	</root>
-
-</log4j:configuration>
diff -r 453b563e6b44 -r 0657182b8aff WebContent/WEB-INF/conf/unicorn_log4j.xml.default
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WebContent/WEB-INF/conf/unicorn_log4j.xml.default	Tue Jun 15 17:17:54 2010 -0400
@@ -0,0 +1,239 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "../resources/schemas/log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+	<appender name="gui" class="org.apache.log4j.lf5.LF5Appender">
+		<param name="MaxNumberOfRecords" value="10000" />
+		<param name="CallSystemExitOnClose" value="false" />
+		<param name="Threshold" value="debug" />
+	</appender>
+
+	<appender name="console" class="org.apache.log4j.ConsoleAppender">
+		<param name="Threshold" value="trace" />
+		<layout class="org.apache.log4j.PatternLayout">
+			<param name="ConversionPattern" value="%-5p (%F:%L) : %m%n" />
+		</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" />
+		<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>
+		<filter class="org.apache.log4j.varia.LevelMatchFilter">
+			<param name="LevelToMatch" value="error" />
+			<param name="AcceptOnMatch" value="true" />
+		</filter>
+		<filter class="org.apache.log4j.varia.DenyAllFilter" />
+	</appender>
+
+	<appender name="level-warning" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/level/warning.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>
+		<filter class="org.apache.log4j.varia.LevelMatchFilter">
+			<param name="LevelToMatch" value="warning" />
+			<param name="AcceptOnMatch" value="true" />
+		</filter>
+		<filter class="org.apache.log4j.varia.DenyAllFilter" />
+	</appender>
+	
+	<appender name="level-info" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/level/info.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>
+		<filter class="org.apache.log4j.varia.LevelMatchFilter">
+			<param name="LevelToMatch" value="info" />
+			<param name="AcceptOnMatch" value="true" />
+		</filter>
+		<filter class="org.apache.log4j.varia.DenyAllFilter" />
+	</appender>
+	
+	<appender name="level-debug" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/level/debug.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>
+		<filter class="org.apache.log4j.varia.LevelMatchFilter">
+			<param name="LevelToMatch" value="debug" />
+			<param name="AcceptOnMatch" value="true" />
+		</filter>
+		<filter class="org.apache.log4j.varia.DenyAllFilter" />
+	</appender>
+	
+	<appender name="level-trace" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/level/trace.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>
+		<filter class="org.apache.log4j.varia.LevelMatchFilter">
+			<param name="LevelToMatch" value="trace" />
+			<param name="AcceptOnMatch" value="true" />
+		</filter>
+		<filter class="org.apache.log4j.varia.DenyAllFilter" />
+	</appender>
+	
+	<appender name="package-unicorn" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/all.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="package-action" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/action.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="package-contract" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/contract.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="package-input" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/input.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="package-output" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/output.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="package-request" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/request.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="package-response" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/response.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="package-tasklist" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/tasklist.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="package-util" class="org.apache.log4j.RollingFileAppender">
+		<param name="File" value="${unicorn.home}/WEB-INF/logs/package/util.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" />
+	</logger>
+
+	<logger name="org.w3c.unicorn.Framework">
+		<level value="debug"/>
+	</logger>
+	
+	<logger name="org.w3c.unicorn">
+		<level value="debug"/>
+		<appender-ref ref="package-unicorn" />
+	</logger>
+	
+	 <logger name="org.w3c.unicorn.action">
+		<appender-ref ref="package-action" />
+	</logger>
+	
+	<logger name="org.w3c.unicorn.contract">
+		<appender-ref ref="package-contract" />
+	</logger>
+	
+	<logger name="org.w3c.unicorn.input">
+		<appender-ref ref="package-input" />
+	</logger>
+	
+	<logger name="org.w3c.unicorn.output">
+		<appender-ref ref="package-output" />
+	</logger>
+	
+	<logger name="org.w3c.unicorn.request">
+		<appender-ref ref="package-request" />
+	</logger>
+	
+	<logger name="org.w3c.unicorn.response">
+		<appender-ref ref="package-response" />
+	</logger>
+	
+	<logger name="org.w3c.unicorn.tasklist">
+		<appender-ref ref="package-tasklist" />
+	</logger>
+	
+	<logger name="org.w3c.unicorn.tasklistree">
+		<appender-ref ref="package-tasklist" />
+	</logger>
+	
+	<logger name="org.w3c.unicorn.util">
+		<appender-ref ref="package-util" />
+	</logger>
+	
+	<root>
+		<level value="all"/>
+		<appender-ref ref="level-error" />
+		<appender-ref ref="level-warning" />
+		<appender-ref ref="level-info" />
+		<appender-ref ref="level-debug" />
+		<appender-ref ref="level-trace" />
+		<appender-ref ref="console" />
+		<!-- <appender-ref ref="gui" /> -->
+	</root>
+
+</log4j:configuration>

Received on Tuesday, 15 June 2010 21:19:26 UTC