]> source.dussan.org Git - sonarqube.git/commitdiff
Remove some DEBUG logs when building plugin classloaders
authorSimon Brandhof <simon.brandhof@gmail.com>
Wed, 19 Oct 2011 13:30:09 +0000 (15:30 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Wed, 19 Oct 2011 13:30:09 +0000 (15:30 +0200)
sonar-core/src/main/java/org/sonar/core/plugins/PluginClassloaders.java

index 687576e5650212b280eeb5b07631f5264f322111..5ac3ca98a7b26a7eb69d012827a3f804d1f1f594 100644 (file)
@@ -137,7 +137,7 @@ public class PluginClassloaders {
       ClassRealm base = world.getRealm(plugin.getBasePlugin());
       if (base == null) {
         // Ignored, because base plugin is not installed
-        LOG.debug("Exclude plugin " + plugin.getKey() + " because base plugin is not installed: " + plugin.getBasePlugin());
+        LOG.warn("Plugin " + plugin.getKey() + " is ignored because base plugin is not installed: " + plugin.getBasePlugin());
         return false;
       }
       base.createChildRealm(plugin.getKey()); // we create new realm to be able to return it by key without conversion to baseKey
@@ -175,7 +175,6 @@ public class PluginClassloaders {
    * Exports specified packages from given ClassRealm to all others.
    */
   private void export(ClassRealm realm, String... packages) {
-    Logs.INFO.debug("Exporting " + Arrays.toString(packages) + " from " + realm.getId());
     for (Object o : world.getRealms()) {
       ClassRealm dep = (ClassRealm) o;
       if (!StringUtils.equals(dep.getId(), realm.getId())) {