Browse Source

Merge pull request #12 from gitblit/fix_loglevel

Change log level of a debug message from warn to debug
pull/14/merge
Decebal Suiu 11 years ago
parent
commit
f9be0a48ce
  1. 2
      pf4j/src/main/java/ro/fortsoft/pf4j/DefaultExtensionFinder.java

2
pf4j/src/main/java/ro/fortsoft/pf4j/DefaultExtensionFinder.java

@ -76,7 +76,7 @@ public class DefaultExtensionFinder implements ExtensionFinder, PluginStateListe
result.add(new ExtensionWrapper<T>(type.cast(instance), extension.ordinal()));
}
} else {
log.warn("'{}' is not an extension for extension point '{}'", extensionType.getName(), type.getName());
log.debug("'{}' is not an extension for extension point '{}'", extensionType.getName(), type.getName());
}
} catch (ClassNotFoundException e) {
log.error(e.getMessage(), e);

Loading…
Cancel
Save