diff options
| author | Keith Wall <kwall@apache.org> | 2014-11-09 09:48:50 +0000 |
|---|---|---|
| committer | Keith Wall <kwall@apache.org> | 2014-11-09 09:48:50 +0000 |
| commit | 885b42696c24d1e92d04b75a74ec9907c4b5b277 (patch) | |
| tree | 7571e8bc84d24aa820620cc9b418e2d8fc33ff93 /qpid/java/broker-core/src | |
| parent | bbe46feac2364d99c01fe96562140c6f9fa3a9de (diff) | |
| download | qpid-python-885b42696c24d1e92d04b75a74ec9907c4b5b277.tar.gz | |
QPID-6219: [Java Broker] Fix failing BrokerLoggingTest introduced by my previous commit (rev 1637549)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1637645 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker-core/src')
| -rw-r--r-- | qpid/java/broker-core/src/main/java/org/apache/qpid/server/Broker.java | 8 |
1 files changed, 5 insertions, 3 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 44ed6d4d4c..245edc0970 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 @@ -143,6 +143,11 @@ public class Broker implements BrokerShutdownProvider private void startupImpl(final BrokerOptions options) throws Exception { + String storeLocation = options.getConfigurationStoreLocation(); + String storeType = options.getConfigurationStoreType(); + + _eventLogger.message(BrokerMessages.CONFIG(storeLocation)); + //Allow skipping the logging configuration for people who are //embedding the broker and want to configure it themselves. if(!options.isSkipLoggingConfiguration()) @@ -150,8 +155,6 @@ public class Broker implements BrokerShutdownProvider configureLogging(new File(options.getLogConfigFileLocation()), options.getLogWatchFrequency()); } - String storeLocation = options.getConfigurationStoreLocation(); - String storeType = options.getConfigurationStoreType(); PluggableFactoryLoader<SystemConfigFactory> configFactoryLoader = new PluggableFactoryLoader<>(SystemConfigFactory.class); SystemConfigFactory configFactory = configFactoryLoader.get(storeType); @@ -161,7 +164,6 @@ public class Broker implements BrokerShutdownProvider throw new IllegalArgumentException("Unknown config store type '"+storeType+"', only the following types are supported: " + configFactoryLoader.getSupportedTypes()); } - _eventLogger.message(BrokerMessages.CONFIG(storeLocation)); LogRecorder logRecorder = new LogRecorder(); |
