You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2013/10/11 15:47:15 UTC

svn commit: r1531296 - /servicemix/smx4/features/branches/features-4.5.x/cxf/cxf-transport-nmr/src/main/java/org/apache/servicemix/cxf/transport/nmr/NMRConduitOutputStream.java

Author: ffang
Date: Fri Oct 11 13:47:14 2013
New Revision: 1531296

URL: http://svn.apache.org/r1531296
Log:
[SMX4-1585]ue LOG instead of raw e.printStackTrace

Modified:
    servicemix/smx4/features/branches/features-4.5.x/cxf/cxf-transport-nmr/src/main/java/org/apache/servicemix/cxf/transport/nmr/NMRConduitOutputStream.java

Modified: servicemix/smx4/features/branches/features-4.5.x/cxf/cxf-transport-nmr/src/main/java/org/apache/servicemix/cxf/transport/nmr/NMRConduitOutputStream.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/branches/features-4.5.x/cxf/cxf-transport-nmr/src/main/java/org/apache/servicemix/cxf/transport/nmr/NMRConduitOutputStream.java?rev=1531296&r1=1531295&r2=1531296&view=diff
==============================================================================
--- servicemix/smx4/features/branches/features-4.5.x/cxf/cxf-transport-nmr/src/main/java/org/apache/servicemix/cxf/transport/nmr/NMRConduitOutputStream.java (original)
+++ servicemix/smx4/features/branches/features-4.5.x/cxf/cxf-transport-nmr/src/main/java/org/apache/servicemix/cxf/transport/nmr/NMRConduitOutputStream.java Fri Oct 11 13:47:14 2013
@@ -31,6 +31,7 @@ import java.util.List;
 import java.util.Map;
 import java.util.concurrent.Executor;
 import java.util.concurrent.RejectedExecutionException;
+import java.util.logging.Level;
 import java.util.logging.Logger;
 import javax.activation.DataHandler;
 import javax.jws.WebService;
@@ -293,7 +294,7 @@ public class NMRConduitOutputStream exte
         } catch (IOException e) {
             throw e;
         } catch (Exception e) {
-            e.printStackTrace();
+            LOG.log(Level.SEVERE, e.getMessage(), e);
             throw new IOException(e.toString());
         }