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/01/03 16:36:54 UTC
svn commit: r608531 - /lenya/trunk/src/confpatch/log4j-loglevel.xconf
Author: andreas
Date: Thu Jan 3 07:36:53 2008
New Revision: 608531
URL: http://svn.apache.org/viewvc?rev=608531&view=rev
Log:
Set log4j log level to error by default. This fixes bug 43987.
Added:
lenya/trunk/src/confpatch/log4j-loglevel.xconf
Added: lenya/trunk/src/confpatch/log4j-loglevel.xconf
URL: http://svn.apache.org/viewvc/lenya/trunk/src/confpatch/log4j-loglevel.xconf?rev=608531&view=auto
==============================================================================
--- lenya/trunk/src/confpatch/log4j-loglevel.xconf (added)
+++ lenya/trunk/src/confpatch/log4j-loglevel.xconf Thu Jan 3 07:36:53 2008
@@ -0,0 +1,24 @@
+<?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/root"
+ unless="/configuration/root/priority[@value='error']"
+ remove="/configuration/root/priority"
+ insert-before="appender-ref">
+ <priority value="error"/>
+</xconf>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org