costin 01/02/05 22:42:01
Modified: src/share/org/apache/tomcat/modules/config AutoWebApp.java
Log:
Better (and fewer) messages in AutoWebApp.
Revision Changes Path
1.3 +4 -2
jakarta-tomcat/src/share/org/apache/tomcat/modules/config/AutoWebApp.java
Index: AutoWebApp.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/AutoWebApp.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AutoWebApp.java 2001/02/02 22:38:30 1.2
+++ AutoWebApp.java 2001/02/06 06:42:01 1.3
@@ -204,15 +204,17 @@
if(host==null) host="DEFAULT";
String path="/" + unEscapePath( name );
- log("Auto-Adding " + name + " " + host + " " + path );
if( path.equals("/ROOT") )
path="";
Hashtable loaded=(Hashtable)hosts.get(host);
if( loaded != null && loaded.get( path ) != null ) {
- log( "Already loaded");
+ log( "Already loaded: " + host + ":" +
+ ( "".equals(path) ? "/" : path ) );
return; // already loaded
}
+ log("Auto-Adding " + host + ":" +
+ ( "".equals(path) ? "/" : path ) );
if (dir.isDirectory()) {
Context ctx=new Context();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]