summaryrefslogtreecommitdiff
path: root/qpid/java
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java')
-rw-r--r--qpid/java/broker-core/src/main/java/org/apache/qpid/server/Broker.java8
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();