summaryrefslogtreecommitdiff
path: root/java/tools
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2010-06-04 14:37:50 +0000
committerRobert Gemmell <robbie@apache.org>2010-06-04 14:37:50 +0000
commitc2addf21f73df74f32ae893d894189e1e1e15841 (patch)
tree75243ad381ef08e458c7d6d91af03929c27d6bf8 /java/tools
parent75260e865218db7a41f8423640d0324a2cc67238 (diff)
downloadqpid-python-c2addf21f73df74f32ae893d894189e1e1e15841.tar.gz
QPID-2599: restore log4j settings files which are not named log4j.xml or log4j.properties and so need not be removed completely since they wont be automatically applied by log4j if found on the classpath like the others will
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951419 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/tools')
-rw-r--r--java/tools/etc/test.log4j28
1 files changed, 28 insertions, 0 deletions
diff --git a/java/tools/etc/test.log4j b/java/tools/etc/test.log4j
new file mode 100644
index 0000000000..b574a7b5b7
--- /dev/null
+++ b/java/tools/etc/test.log4j
@@ -0,0 +1,28 @@
+#
+# 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.
+#
+log4j.rootLogger=${root.logging.level}
+
+log4j.logger.org.apache.qpid=ERROR, console
+log4j.additivity.org.apache.qpid=false
+
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console.Threshold=all
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+log4j.appender.console.layout.ConversionPattern=%t %d %p [%c{4}] %m%n
+