]> source.dussan.org Git - pf4j.git/commitdiff
add debug message for lookup plugins directory
authorDecebal Suiu <decebal.suiu@gmail.com>
Thu, 26 Sep 2013 10:13:40 +0000 (13:13 +0300)
committerDecebal Suiu <decebal.suiu@gmail.com>
Thu, 26 Sep 2013 10:13:40 +0000 (13:13 +0300)
pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java

index 1c239dc1b96081cf7e446acabbac92e8d8bbc1a8..0c2628df9c3624ceb8513fb53deeb77a68f6ba9b 100644 (file)
@@ -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;
         }