nacho 01/10/21 08:47:27
Modified: src/share/org/apache/tomcat/util/depend
DependClassLoader.java
Log:
Fix: debug level was very low for DCL, making Reloadinterceptor produce
too much log messages to be useful, now DCL logs when debug > 9,
in the ReloadInterceptor
Revision Changes Path
1.14 +3 -3
jakarta-tomcat/src/share/org/apache/tomcat/util/depend/DependClassLoader.java
Index: DependClassLoader.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/depend/DependClassLoader.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- DependClassLoader.java 2001/09/29 04:37:42 1.13
+++ DependClassLoader.java 2001/10/21 15:47:27 1.14
@@ -154,7 +154,7 @@
protected Class loadClassInternal1( String name, boolean resolve )
throws ClassNotFoundException
{
- if( debug>0) log( "loadClass() " + name + " " + resolve);
+ if( debug>9) log( "loadClass() " + name + " " + resolve);
// The class object that will be returned.
Class c = null;
@@ -237,7 +237,7 @@
File f=null;
if( "file".equals( res.getProtocol() )) {
f=new File( res.getFile());
- if( debug > 0 ) log( "File dep " +f );
+ if( debug > 9 ) log( "File dep " +f );
if( ! f.exists()) f=null;
}
if( "jar".equals( res.getProtocol() )) {
@@ -252,7 +252,7 @@
if( fileN.startsWith( "/file:" ))
fileN=fileN.substring( 6 );
f=new File(fileN);
- if( debug > 0 ) log( "Jar dep " +f + " " + f.exists() );
+ if( debug > 9 ) log( "Jar dep " +f + " " + f.exists() );
if( ! f.exists()) f=null;
}