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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.