diff options
| author | Robert Gemmell <robbie@apache.org> | 2012-01-16 15:40:13 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2012-01-16 15:40:13 +0000 |
| commit | 894c0712d53e970e99fda3f819383fa853ba0ec6 (patch) | |
| tree | d8f1027df0684de0c937ef66e74b3833934163c7 /qpid/java/broker | |
| parent | 910634a2d3e72b36b0111c0d60001a1dab512c17 (diff) | |
| download | qpid-python-894c0712d53e970e99fda3f819383fa853ba0ec6.tar.gz | |
QPID-3761: rename the fallback config to ensure it isnt just picked up by Log4J automatically scanning the classpath
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1232031 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker')
| -rw-r--r-- | qpid/java/broker/src/main/java/fallback-log4j.properties (renamed from qpid/java/broker/src/main/java/log4j.properties) | 4 | ||||
| -rw-r--r-- | qpid/java/broker/src/main/java/org/apache/qpid/server/Broker.java | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/qpid/java/broker/src/main/java/log4j.properties b/qpid/java/broker/src/main/java/fallback-log4j.properties index 6788c65463..7b95a89924 100644 --- a/qpid/java/broker/src/main/java/log4j.properties +++ b/qpid/java/broker/src/main/java/fallback-log4j.properties @@ -6,9 +6,9 @@ # 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 diff --git a/qpid/java/broker/src/main/java/org/apache/qpid/server/Broker.java b/qpid/java/broker/src/main/java/org/apache/qpid/server/Broker.java index 1632effaf0..6a135d1196 100644 --- a/qpid/java/broker/src/main/java/org/apache/qpid/server/Broker.java +++ b/qpid/java/broker/src/main/java/org/apache/qpid/server/Broker.java @@ -409,12 +409,12 @@ public class Broker else { System.err.println("Logging configuration error: unable to read file " + logConfigFile.getAbsolutePath()); - System.err.println("Using the fallback internal log4j.properties configuration"); + System.err.println("Using the fallback internal fallback-log4j.properties configuration"); - InputStream propsFile = this.getClass().getResourceAsStream("/log4j.properties"); + InputStream propsFile = this.getClass().getResourceAsStream("/fallback-log4j.properties"); if(propsFile == null) { - throw new IOException("Unable to load the fallback internal log4j.properties configuration file"); + throw new IOException("Unable to load the fallback internal fallback-log4j.properties configuration file"); } else { |
