aboutsummaryrefslogtreecommitdiffstats
path: root/pf4j
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2014-04-23 18:29:45 +0300
committerDecebal Suiu <decebal.suiu@gmail.com>2014-04-23 18:29:45 +0300
commit69835a14068a943ba6aeae4e3ebb208cb31ed935 (patch)
tree26c6527833be5c70ed3ea283b250e7b1de276a28 /pf4j
parent90aefdd1211a15c430bde06cbb45753f9fc03360 (diff)
downloadpf4j-69835a14068a943ba6aeae4e3ebb208cb31ed935.tar.gz
pf4j-69835a14068a943ba6aeae4e3ebb208cb31ed935.zip
add info message about pf4j version and the runtime mode
Diffstat (limited to 'pf4j')
-rw-r--r--pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java
index a90ad56..339c063 100644
--- a/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java
+++ b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java
@@ -571,9 +571,6 @@ public class DefaultPluginManager implements PluginManager {
// retrieves the runtime mode from system
String modeAsString = System.getProperty("pf4j.mode", RuntimeMode.DEPLOYMENT.toString());
runtimeMode = RuntimeMode.byName(modeAsString);
-
- log.info("PF4J runtime mode is '{}'", runtimeMode);
-
}
return runtimeMode;
@@ -716,6 +713,8 @@ public class DefaultPluginManager implements PluginManager {
pluginStateListeners = new ArrayList<PluginStateListener>();
+ log.info("PF4J version {} in '{}' mode", getVersion(), getRuntimeMode());
+
pluginClasspath = createPluginClasspath();
pluginDescriptorFinder = createPluginDescriptorFinder();
extensionFinder = createExtensionFinder();