From: Decebal Suiu Date: Thu, 26 Sep 2013 10:13:40 +0000 (+0300) Subject: add debug message for lookup plugins directory X-Git-Tag: release-0.5~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5c15a04845079ee4669b008e32c2f6f605d5f63c;p=pf4j.git add debug message for lookup plugins directory --- diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java index 1c239dc..0c2628d 100644 --- a/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java @@ -199,9 +199,10 @@ public class DefaultPluginManager implements PluginManager { */ @Override public void loadPlugins() { + log.debug("Lookup plugins in '{}'", pluginsDirectory.getAbsolutePath()); // check for plugins directory if (!pluginsDirectory.exists() || !pluginsDirectory.isDirectory()) { - log.error("No '{}' directory", pluginsDirectory); + log.error("No '{}' directory", pluginsDirectory.getAbsolutePath()); return; }