costin      01/02/10 08:45:19

  Modified:    src/share/org/apache/tomcat/startup Main.java Tomcat.java
  Log:
  Remove println().
  
  Less output ( Guessed home is printed only on error - it'll be printed
  by tomcat a bit later, using the Log. ).
  
  XXX There are still 3-4 more printlns ( some in the .sh script),
  probably it'll be a good idea to remove them too )
  
  Revision  Changes    Path
  1.24      +2 -1      jakarta-tomcat/src/share/org/apache/tomcat/startup/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/startup/Main.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- Main.java 2001/02/10 16:13:33     1.23
  +++ Main.java 2001/02/10 16:45:18     1.24
  @@ -172,7 +172,7 @@
   
           try {
               homeDir=IntrospectionUtils.guessHome("tomcat.home", "tomcat.jar");
  -            System.out.println("Guessed home=" + homeDir);
  +         // System.out.println("Guessed home=" + homeDir);
   
            ClassLoader parentL=this.getClass().getClassLoader();
            //System.out.println("ParentL " + parentL );
  @@ -208,6 +208,7 @@
               IntrospectionUtils.execute(  proxy, "executeWithAttributes" );
            return;
        } catch( Exception ex ) {
  +         System.out.println("Guessed home=" + homeDir);
            ex.printStackTrace();
        }
       }
  
  
  
  1.54      +0 -1      jakarta-tomcat/src/share/org/apache/tomcat/startup/Tomcat.java
  
  Index: Tomcat.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/startup/Tomcat.java,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- Tomcat.java       2001/02/10 16:38:16     1.53
  +++ Tomcat.java       2001/02/10 16:45:18     1.54
  @@ -149,7 +149,6 @@
   
       public void setAttribute(String s,Object o) {
           attributes.put(s,o);
  -//        System.out.println(s+":"+o);
       }
       public void executeWithAttributes() throws Exception {
          String[] args=(String[])attributes.get("args");
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to