geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Re: svn commit: r530148 - /geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AnnotationHandlerChainBuilder.java
Date Wed, 18 Apr 2007 20:49:13 GMT
This won't actually log the stack trace as debug, it will log the  
result of String.valueOf(e).  If you actually want the trace, then:

     log.debug(e.getMessage(), e);

--jason


On Apr 18, 2007, at 1:36 PM, dims@apache.org wrote:

> Author: dims
> Date: Wed Apr 18 13:36:48 2007
> New Revision: 530148
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=530148
> Log:
> remove print stack trace
>
> Modified:
>     geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/ 
> apache/geronimo/axis2/AnnotationHandlerChainBuilder.java
>
> Modified: geronimo/server/trunk/modules/geronimo-axis2/src/main/ 
> java/org/apache/geronimo/axis2/AnnotationHandlerChainBuilder.java
> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ 
> geronimo-axis2/src/main/java/org/apache/geronimo/axis2/ 
> AnnotationHandlerChainBuilder.java? 
> view=diff&rev=530148&r1=530147&r2=530148
> ====================================================================== 
> ========
> --- geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/ 
> apache/geronimo/axis2/AnnotationHandlerChainBuilder.java (original)
> +++ geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/ 
> apache/geronimo/axis2/AnnotationHandlerChainBuilder.java Wed Apr 18  
> 13:36:48 2007
> @@ -68,7 +68,7 @@
>                  //We expect only one HandlerChainType here
>                  hc = handlerChainsType.getHandlerChainArray()[0];
>              } catch (Exception e) {
> -                e.printStackTrace();
> +                log.debug(e);
>                  throw new WebServiceException("Chain not  
> specified", e);
>              }
>
>
>


Mime
View raw message