aboutsummaryrefslogtreecommitdiffstats
path: root/demo
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2017-02-16 23:14:34 +0200
committerDecebal Suiu <decebal.suiu@gmail.com>2017-02-16 23:14:34 +0200
commite19e7c1c73bb93bd8234123bca9192ad6b0b21a9 (patch)
treea638fccab7227249136693ab7afaba011a97025c /demo
parente8d5b8eebf2207194685dc66af72917cbba11ecf (diff)
downloadpf4j-e19e7c1c73bb93bd8234123bca9192ad6b0b21a9.tar.gz
pf4j-e19e7c1c73bb93bd8234123bca9192ad6b0b21a9.zip
Fix previous commit
Diffstat (limited to 'demo')
-rw-r--r--demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java4
-rw-r--r--demo/app/src/main/resources/log4j.properties2
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