cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r676624 - in /cocoon/whiteboard/corona/trunk/corona-sample/rcl-config: ./ WEB-INF/ WEB-INF/log4j.xml
Date Mon, 14 Jul 2008 15:29:34 GMT
Author: reinhard
Date: Mon Jul 14 08:29:33 2008
New Revision: 676624

URL: http://svn.apache.org/viewvc?rev=676624&view=rev
Log:
add custom log4j configuration

Added:
    cocoon/whiteboard/corona/trunk/corona-sample/rcl-config/
    cocoon/whiteboard/corona/trunk/corona-sample/rcl-config/WEB-INF/
    cocoon/whiteboard/corona/trunk/corona-sample/rcl-config/WEB-INF/log4j.xml   (with props)

Added: cocoon/whiteboard/corona/trunk/corona-sample/rcl-config/WEB-INF/log4j.xml
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/corona/trunk/corona-sample/rcl-config/WEB-INF/log4j.xml?rev=676624&view=auto
==============================================================================
--- cocoon/whiteboard/corona/trunk/corona-sample/rcl-config/WEB-INF/log4j.xml (added)
+++ cocoon/whiteboard/corona/trunk/corona-sample/rcl-config/WEB-INF/log4j.xml Mon Jul 14 08:29:33
2008
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+ -->
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+
+  <appender name="CORONA_DEFAULT" class="org.apache.log4j.FileAppender">
+    <param name="File" value="./target/work/log/log4j.log"/>
+    <param name="Append" value="true"/>
+    <layout class="org.apache.log4j.PatternLayout">
+      <param name="ConversionPattern" value="%d{ISO8601} %t %-5p %c{2} - %m%n"/>
+    </layout>
+  </appender>
+
+  <logger name="org.apache.cocoon.corona">
+    <level value="DEBUG" />
+  </logger>
+
+  <root>
+    <priority value="WARN"/>
+    <appender-ref ref="CORONA_DEFAULT"/>
+  </root>
+
+</log4j:configuration>

Propchange: cocoon/whiteboard/corona/trunk/corona-sample/rcl-config/WEB-INF/log4j.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/whiteboard/corona/trunk/corona-sample/rcl-config/WEB-INF/log4j.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: cocoon/whiteboard/corona/trunk/corona-sample/rcl-config/WEB-INF/log4j.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message