Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hudson-inject/src/main/java/org/eclipse/hudson/inject/internal/plugin/PluginClassLoader.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/hudson-inject/src/main/java/org/eclipse/hudson/inject/internal/plugin/PluginClassLoader.java b/hudson-inject/src/main/java/org/eclipse/hudson/inject/internal/plugin/PluginClassLoader.java
index 20a2963c..fa6d69da 100644
--- a/hudson-inject/src/main/java/org/eclipse/hudson/inject/internal/plugin/PluginClassLoader.java
+++ b/hudson-inject/src/main/java/org/eclipse/hudson/inject/internal/plugin/PluginClassLoader.java
@@ -21,6 +21,8 @@ import org.aspectj.weaver.loadtime.WeavingURLClassLoader;
import java.net.URL;
import java.util.List;
+import java.util.logging.Level;
+import java.util.logging.Logger;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Preconditions.checkState;
@@ -38,6 +40,9 @@ public class PluginClassLoader
public PluginClassLoader(final List<URL> urls, final ClassLoader parent) {
super(urls.toArray(new URL[urls.size()]), parent);
+
+ // Some optional classes might not exist, so want to avoid excessive tracing
+ Logger.getLogger(WeavingURLClassLoader.class.getName()).setLevel(Level.OFF);
}
public PluginWrapper getPlugin() {

Back to the top