summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2014-01-10 08:32:01 +0000
committerKeith Wall <kwall@apache.org>2014-01-10 08:32:01 +0000
commit46792750e7e1a08142b8996fc80ce76a0af34963 (patch)
treeb276c0e29f8b8b7c0885df625a35006bb6a8305c /java
parent1b3fa07abd75633c88000908091b8af94f5e3139 (diff)
downloadqpid-python-46792750e7e1a08142b8996fc80ce76a0af34963.tar.gz
QPID-5429: [Java Broker] Exceptions causing startup failure now written to qpid.log too
Previously, such exceptions were only written to stderr. This change means that they written to qpid.log too, allowing configuration problems etc to be understood by refering to the one file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1557052 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/broker-core/src/main/java/org/apache/qpid/server/Broker.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/broker-core/src/main/java/org/apache/qpid/server/Broker.java b/java/broker-core/src/main/java/org/apache/qpid/server/Broker.java
index e67f2feb70..f180e4532c 100644
--- a/java/broker-core/src/main/java/org/apache/qpid/server/Broker.java
+++ b/java/broker-core/src/main/java/org/apache/qpid/server/Broker.java
@@ -123,6 +123,7 @@ public class Broker
}
catch(Exception e)
{
+ LOGGER.fatal("Exception during startup", e);
try
{
_applicationRegistry.close();