diff options
| author | Keith Wall <kwall@apache.org> | 2014-01-10 08:32:01 +0000 |
|---|---|---|
| committer | Keith Wall <kwall@apache.org> | 2014-01-10 08:32:01 +0000 |
| commit | 71a0b1586bbf9cba53cec7320dbf2f32c60cad7b (patch) | |
| tree | 4964ab3d36df27a5e1a6c28edc5934e2a0eb7340 /qpid/java | |
| parent | 1bbac3489bb654963ba8629a5f3194e7ea56b23c (diff) | |
| download | qpid-python-71a0b1586bbf9cba53cec7320dbf2f32c60cad7b.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@1557052 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/broker-core/src/main/java/org/apache/qpid/server/Broker.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/java/broker-core/src/main/java/org/apache/qpid/server/Broker.java b/qpid/java/broker-core/src/main/java/org/apache/qpid/server/Broker.java index e67f2feb70..f180e4532c 100644 --- a/qpid/java/broker-core/src/main/java/org/apache/qpid/server/Broker.java +++ b/qpid/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(); |
