diff options
Diffstat (limited to 'demo/app/src/main')
-rw-r--r-- | demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java | 4 | ||||
-rw-r--r-- | demo/app/src/main/resources/log4j.properties | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java b/demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java index c6ecec3..fa779e2 100644 --- a/demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java +++ b/demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java @@ -21,7 +21,6 @@ import java.util.Set; import org.apache.commons.lang.StringUtils; import ro.fortsoft.pf4j.DefaultPluginManager; -import ro.fortsoft.pf4j.JarPluginManager; import ro.fortsoft.pf4j.PluginManager; import ro.fortsoft.pf4j.PluginWrapper; import ro.fortsoft.pf4j.demo.api.Greeting; @@ -38,8 +37,7 @@ public class Boot { printLogo(); // create the plugin manager -// final PluginManager pluginManager = new DefaultPluginManager(); - final PluginManager pluginManager = new JarPluginManager(); + final PluginManager pluginManager = new DefaultPluginManager(); // load the plugins pluginManager.loadPlugins(); diff --git a/demo/app/src/main/resources/log4j.properties b/demo/app/src/main/resources/log4j.properties index 692e39b..0454ba2 100644 --- a/demo/app/src/main/resources/log4j.properties +++ b/demo/app/src/main/resources/log4j.properties @@ -5,7 +5,7 @@ log4j.rootLogger=DEBUG, Console # log4j.logger.ro.fortsoft.pf4j=DEBUG, Console # !!! Put the bellow classes on level TRACE when you are in trouble -log4j.logger.ro.fortsoft.pf4j.PluginClassLoader=DEBUG, Console +log4j.logger.ro.fortsoft.pf4j.PluginClassLoader=WARN, Console log4j.logger.ro.fortsoft.pf4j.AbstractExtensionFinder=DEBUG, Console log4j.additivity.ro.fortsoft.pf4j=false log4j.additivity.ro.fortsoft.pf4j.PluginClassLoader=false |