You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/02/22 01:03:16 UTC
svn commit: r630051 -
/lenya/trunk/src/confpatch/log4j-ConversionPattern.xconf
Author: andreas
Date: Thu Feb 21 16:03:07 2008
New Revision: 630051
URL: http://svn.apache.org/viewvc?rev=630051&view=rev
Log:
Changing log pattern to include date and time. This fixes bug 38857.
Added:
lenya/trunk/src/confpatch/log4j-ConversionPattern.xconf
Added: lenya/trunk/src/confpatch/log4j-ConversionPattern.xconf
URL: http://svn.apache.org/viewvc/lenya/trunk/src/confpatch/log4j-ConversionPattern.xconf?rev=630051&view=auto
==============================================================================
--- lenya/trunk/src/confpatch/log4j-ConversionPattern.xconf (added)
+++ lenya/trunk/src/confpatch/log4j-ConversionPattern.xconf Thu Feb 21 16:03:07 2008
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+
+<xconf xpath="/configuration/appender[@name='COCOON_DEFAULT']/layout" unless="param[@value='%d [%t] %-5p %c{2} - %m%n']"
+ remove="/configuration/appender[@name='COCOON_DEFAULT']/layout/node()">
+ <param name="ConversionPattern" value="%d [%t] %-5p %c{2} - %m%n"/>
+</xconf>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org