tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Anden <jonas.an...@aptilo.com>
Subject Patch for bugzilla #19312
Date Wed, 30 Apr 2003 08:40:28 GMT
Fixes recursive calls to log() in StandardWrapperValve.java.

See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19312

- --cut-- -
Index: StandardWrapperValve.java
===================================================================
RCS file:
/home/cvspublic/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardWrapperValve.java,v
retrieving revision 1.35
diff -p -u -r1.35 StandardWrapperValve.java
--- StandardWrapperValve.java	6 Feb 2003 22:06:33 -0000	1.35
+++ StandardWrapperValve.java	30 Apr 2003 08:36:55 -0000
@@ -518,8 +518,9 @@ final class StandardWrapperValve
             String containerName = null;
             if (container != null)
                 containerName = container.getName();
-            log( "StandardWrapperValve[" + containerName
-                       + "]: " + message, throwable);
+            System.out.println( "StandardWrapperValve[" + containerName
+                       + "]: " + message );
+            throwable.printStackTrace(System.out);
         }
 
     }
- --cut-- -



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message