aboutsummaryrefslogtreecommitdiffstats
path: root/pf4j
diff options
context:
space:
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();