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

2006/unicorn/org/w3c/unicorn/conf log4j_Tomcat.xml,NONE,1.1 velocity.properties,NONE,1.1 responseParsers.properties,NONE,1.1 extensions.properties,NONE,1.1 specialFormaters.properties,NONE,1.1 unicorn.properties,NONE,1.1 log4j_Jigsaw.xml,NONE,1.1

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 23 Jul 2009 13:00:42 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MTxuc-0004Cb-JV@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/org/w3c/unicorn/conf
In directory hutz:/tmp/cvs-serv16043/org/w3c/unicorn/conf

Added Files:
	log4j_Tomcat.xml velocity.properties 
	responseParsers.properties extensions.properties 
	specialFormaters.properties unicorn.properties 
	log4j_Jigsaw.xml 
Log Message:
properties files now in a single directory org/w3c/unicorn/conf/
only one unicorn properties file (no more local and remote)

--- NEW FILE: specialFormaters.properties ---
text/html = XMLOutputFormater
application/xhtml+xml = XMLOutputFormater 
--- NEW FILE: velocity.properties ---
runtime.log.logsystem.class=org.apache.velocity.runtime.log.SimpleLog4JLogSystem
runtime.log.logsystem.log4j.category=org.w3c.unicorn.Framework
velocimacro.permissions.allow.inline.local.scope=true

--- NEW FILE: log4j_Jigsaw.xml ---
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

	<!-- APPENDER STD -->

	<appender name="out-all-std" class="org.apache.log4j.ConsoleAppender">
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%-5p (%F:%L) : %m%n" />
		</layout>
	</appender>

	<!-- TEXT APPENDER -->

	<!-- TEXT APPENDER - LEVEL APPENDER -->

	<appender name="out-level-error-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/level/error.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="error" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %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="out-level-warning-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/level/warning.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="warn" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %m%n" />
		</layout>
		<filter class="org.apache.log4j.varia.LevelMatchFilter">
			<param name="LevelToMatch" value="warn" />
			<param name="AcceptOnMatch" value="true" />
		</filter>
		<filter class="org.apache.log4j.varia.DenyAllFilter" />
	</appender>

	<appender name="out-level-info-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/level/info.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="info" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p %c{1} : %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="out-level-debug-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/level/debug.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="debug" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %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="out-level-trace-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/level/trace.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %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>

	<!-- TEXT APPENDER - END OF LEVEL APPENDER -->

	<!-- TEXT APPENDER - PACKAGE APPENDER -->

	<appender name="out-package-contract-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/package/contract.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-index-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/package/index.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-input-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/package/input.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-output-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/package/output.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-request-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/package/request.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-servlet-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/package/servlet.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-tasklist-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/package/tasklist.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-util-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/package/util.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-unicorn-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="/opt/Jigsaw/Jigsaw/WWW/unicorn/logs/all.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %m%n" />
		</layout>
	</appender>

	<!-- TEXT APPENDER - END OF PACKAGE APPENDER -->

	<!-- END OF TEXT APPENDER -->

	<!-- BEGIN OF LOGGER -->

	<logger name="org.w3c.unicorn.Framework">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.contract">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-contract-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.index">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-index-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.input">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-input-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.output">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-output-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.request">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-request-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.servlet">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-servlet-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.tasklist">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-tasklist-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.util">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-util-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>


	<root>
		<level value="warn"/>
	</root>

</log4j:configuration>

--- NEW FILE: extensions.properties ---
text/html = html
application/xhtml+xml = html
application/xml = xml
application/svg+xml = svg
application/rdf+xml = rdf

text/css = css

text/plain = txt

--- NEW FILE: log4j_Tomcat.xml ---
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

	<!-- APPENDER STD -->

	<appender name="out-all-std" class="org.apache.log4j.ConsoleAppender">
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%-5p (%F:%L) : %m%n" />
		</layout>
	</appender>

	<!-- TEXT APPENDER -->

	<!-- TEXT APPENDER - LEVEL APPENDER -->

	<appender name="out-level-error-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/error.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="error" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %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="out-level-warning-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/warning.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="warn" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %m%n" />
		</layout>
		<filter class="org.apache.log4j.varia.LevelMatchFilter">
			<param name="LevelToMatch" value="warn" />
			<param name="AcceptOnMatch" value="true" />
		</filter>
		<filter class="org.apache.log4j.varia.DenyAllFilter" />
	</appender>

	<appender name="out-level-info-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/info.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="info" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p %c{1} : %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="out-level-debug-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/debug.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="debug" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %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="out-level-trace-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/trace.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %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>

	<!-- TEXT APPENDER - END OF LEVEL APPENDER -->

	<!-- TEXT APPENDER - PACKAGE APPENDER -->

	<appender name="out-package-contract-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/contract.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-index-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/index.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-input-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/input.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-output-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/output.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-request-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/request.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-servlet-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/servlet.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-tasklist-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/tasklist.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-util-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/util.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<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="out-package-unicorn-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/all.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %m%n" />
		</layout>
	</appender>

	<!-- TEXT APPENDER - END OF PACKAGE APPENDER -->

	<!-- END OF TEXT APPENDER -->

	<!-- BEGIN OF LOGGER -->

	<logger name="org.w3c.unicorn.Framework">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.contract">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-contract-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.index">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-index-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.input">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-input-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.output">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-output-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.request">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-request-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.servlet">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-servlet-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.tasklist">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-tasklist-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.util">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-util-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>


	<root>
		<level value="warn"/>
	</root>

</log4j:configuration>

--- NEW FILE: responseParsers.properties ---
default = org.w3c.unicorn.response.parser.DefaultParser
--- NEW FILE: unicorn.properties ---
UNICORN_URL = http://localhost:8080/unicorn
UNICORN_HOME = /var/lib/tomcat6/webapps/unicorn/
UNICORN_ENCODING = UTF-8

UNICORN_PARAMETER_PREFIX = ucn_
UNICORN_PARAMETER_OUTPUT_PREFIX = opt_

DEFAULT_LANGUAGE = en

FILESYSTEM_PREFIX = file:

PATH_TO_RESOURCES = $UNICORN_HOME , WEB-INF/resources/
PATH_TO_OBSERVER_LIST = $PATH_TO_RESOURCES
PATH_TO_TASKLIST = $PATH_TO_RESOURCES , tasklist/
PATH_TO_TEMPLATES = $PATH_TO_RESOURCES , templates/
PATH_TO_OUTPUT_TEMPLATES = $PATH_TO_TEMPLATES , output/
PATH_TO_OUTPUT_ERROR_TEMPLATES = $PATH_TO_OUTPUT_TEMPLATES , errors/
PATH_TO_INDEX_TEMPLATES = $PATH_TO_TEMPLATES , index/
PATH_TO_ERROR_TEMPLATES = $PATH_TO_TEMPLATES , errors/
PATH_TO_TEMPORARY_FILES = $UNICORN_HOME , temporary_files/
PATH_TO_INDEX_OUTPUT = $UNICORN_HOME

URL_TO_TEMPORARY_FILES = $UNICORN_URL , temporary_files/

OBSERVER_LIST_FILE = $PATH_TO_OBSERVER_LIST , observers.list
OBSERVER_RDF_MODEL = $FILESYSTEM_PREFIX , $PATH_TO_RESOURCES , schemas/Observer.rdfs
OBSERVER_XML_FILENAME = observer.wadl
OBSERVER_RDF_FILENAME = observer.rdf

TASKLIST_RDF_FILENAME = tasklist.rdf
TASKLIST_RDF_FILE = $PATH_TO_TASKLIST , $TASKLIST_RDF_FILENAME
TASKLIST_XML_FILENAME = tasklist.xml
TASKLIST_XML_FILE = $PATH_TO_TASKLIST , $TASKLIST_XML_FILENAME
TASKLIST_RDF_MODEL = $FILESYSTEM_PREFIX , $PATH_TO_RESOURCES , schemas/Task.rdfs

TEMPLATE_FILE_EXTENSION = .vm

UPLOADED_FILES_REPOSITORY = $UNICORN_HOME , uploaded-files/
DELETE_UPLOADED_FILES = true

REL_PATH_TO_CONF_FILES = org/w3c/unicorn/conf/
Received on Thursday, 23 July 2009 13:00:53 GMT

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