db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r1526172 - /db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java
Date Wed, 25 Sep 2013 13:34:37 GMT
Author: kmarsden
Date: Wed Sep 25 13:34:36 2013
New Revision: 1526172

URL: http://svn.apache.org/r1526172
Log:
ServerPropertiesTest prints .java.net.SocketException: Connection reset to console but test
passes 

Remove e.printStackTrace() of error if log writer is null, unless derby.drda.debug is true


Modified:
    db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java

Modified: db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java?rev=1526172&r1=1526171&r2=1526172&view=diff
==============================================================================
--- db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java
(original)
+++ db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java
Wed Sep 25 13:34:36 2013
@@ -599,7 +599,9 @@ public final class NetworkServerControlI
                 e.printStackTrace(lw);
             }
         }
-        else
+        // DERBY-5610 - If there is no log writer, only print
+        // exception to System.out if derby.drda.debug=true
+        else if (debugOutput)
         {
             e.printStackTrace();
         }



Mime
View raw message