jfarcand    2002/09/11 06:08:19

  Modified:    catalina/src/share/org/apache/catalina/startup Catalina.java
                        ContextConfig.java HostConfig.java
  Log:
  Change the log level for performance/debugging information. Replace log.info by 
log.debug (not log.log). This time cleanup and then compile.
  
  Revision  Changes    Path
  1.5       +7 -7      
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Catalina.java
  
  Index: Catalina.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Catalina.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Catalina.java     11 Sep 2002 03:24:05 -0000      1.4
  +++ Catalina.java     11 Sep 2002 13:08:18 -0000      1.5
  @@ -363,7 +363,7 @@
                                                         parentClassLoader));
   
           long t2=System.currentTimeMillis();
  -        log.info("Digester for server.xml created " + ( t2-t1 ));
  +        log.debug("Digester for server.xml created " + ( t2-t1 ));
           return (digester);
   
       }
  @@ -456,7 +456,7 @@
               System.exit(1);
           }
           long t2=System.currentTimeMillis();
  -        log.info( "Server.xml processed " + (t2-t1 ));
  +        log.debug( "Server.xml processed " + (t2-t1 ));
           
           // Setting additional variables
           if (!useNaming) {
  @@ -515,7 +515,7 @@
                   server.initialize();
                   ((Lifecycle) server).start();
                   long t4=System.currentTimeMillis();
  -                log.info( "server.start " + server + " " + (t4-t3 ));
  +                log.debug( "server.start " + server + " " + (t4-t3 ));
                   try {
                       // Register shutdown hook
                       Runtime.getRuntime().addShutdownHook(shutdownHook);
  
  
  
  1.14      +6 -6      
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextConfig.java
  
  Index: ContextConfig.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextConfig.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ContextConfig.java        11 Sep 2002 03:24:05 -0000      1.13
  +++ ContextConfig.java        11 Sep 2002 13:08:19 -0000      1.14
  @@ -329,7 +329,7 @@
           }
           long t2=System.currentTimeMillis();
           if( (t2-t1 ) > 200 ) 
  -            log.info("Processed  " + url + " "  + ( t2-t1));
  +            log.debug("Processed  " + url + " "  + ( t2-t1));
   
   
       }
  @@ -663,7 +663,7 @@
           }
           long t2=System.currentTimeMillis();
           if( (t2-t1) > 200 )
  -            log.info("Processed default web.xml " + file + " "  + ( t2-t1));
  +            log.debug("Processed default web.xml " + file + " "  + ( t2-t1));
       }
   
   
  
  
  
  1.4       +7 -7      
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/HostConfig.java
  
  Index: HostConfig.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/HostConfig.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- HostConfig.java   21 Aug 2002 22:10:34 -0000      1.3
  +++ HostConfig.java   11 Sep 2002 13:08:19 -0000      1.4
  @@ -497,7 +497,7 @@
                   }
   
                   // Assume this is a configuration descriptor and deploy it
  -                log.info(sm.getString("hostConfig.deployDescriptor", files[i]));
  +                log.debug(sm.getString("hostConfig.deployDescriptor", files[i]));
                   try {
                       URL config =
                           new URL("file", null, dir.getCanonicalPath());
  @@ -545,7 +545,7 @@
                   if (isUnpackWARs()) {
   
                       // Expand and deploy this application as a directory
  -                    log.info(sm.getString("hostConfig.expand", files[i]));
  +                    log.debug(sm.getString("hostConfig.expand", files[i]));
                       try {
                           URL url = new URL("jar:file:" +
                                             dir.getCanonicalPath() + "!/");
  @@ -627,7 +627,7 @@
                   }
                   long t2=System.currentTimeMillis();
                   if( (t2-t1) > 200 )
  -                    log.info("Deployed " + files[i] + " " + (t2-t1));
  +                    log.debug("Deployed " + files[i] + " " + (t2-t1));
               }
   
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to