summaryrefslogtreecommitdiffstats
path: root/pf4j/src
diff options
context:
space:
mode:
authorSergey Tyurin <sergey.v.tyurin@gmail.com>2017-10-13 11:59:48 -0700
committerDecebal Suiu <decebal.suiu@gmail.com>2017-10-13 21:59:48 +0300
commit422484d7502fb16f45c1a8143aa9eef867659e81 (patch)
treecbe387df242643c0eefed88f19dfe825398de30a /pf4j/src
parent5529c4dd08b1db8c6748cb622476b1a446636c35 (diff)
downloadpf4j-422484d7502fb16f45c1a8143aa9eef867659e81.tar.gz
pf4j-422484d7502fb16f45c1a8143aa9eef867659e81.zip
Emit warning instead of error when plugin root is not present (#176)
Diffstat (limited to 'pf4j/src')
-rw-r--r--pf4j/src/main/java/org/pf4j/AbstractPluginManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java b/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java
index 936b6bf..ea94432 100644
--- a/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java
+++ b/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java
@@ -208,7 +208,7 @@ public abstract class AbstractPluginManager implements PluginManager {
log.debug("Lookup plugins in '{}'", pluginsRoot);
// check for plugins root
if (Files.notExists(pluginsRoot) || !Files.isDirectory(pluginsRoot)) {
- log.error("No '{}' root", pluginsRoot);
+ log.warn("No '{}' root", pluginsRoot);
return;
}