Update of /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool
In directory sc8-pr-cvs1:/tmp/cvs-serv13949
Modified Files:
AbstractProxyStatement.java
Log Message:
Debug exception displays class name.
Index: AbstractProxyStatement.java
===================================================================
RCS file: /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool/AbstractProxyStatement.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** AbstractProxyStatement.java 18 Oct 2003 20:44:48 -0000 1.13
--- AbstractProxyStatement.java 19 Oct 2003 09:50:08 -0000 1.14
***************
*** 172,176 ****
// Log if configured to
if (connectionPool.getLog().isDebugEnabled() && connectionPool.getDefinition().isTrace()) {
! connectionPool.getLog().debug(sqlLog.toString() + " (" + (System.currentTimeMillis() - startTime) + " milliseconds" + (exception != null ? ", threw " + exception.getMessage() + ")" : ")"));
}
--- 172,176 ----
// Log if configured to
if (connectionPool.getLog().isDebugEnabled() && connectionPool.getDefinition().isTrace()) {
! connectionPool.getLog().debug(sqlLog.toString() + " (" + (System.currentTimeMillis() - startTime) + " milliseconds" + (exception != null ? ", threw a " + exception.getClass().getName() + ": " + exception.getMessage() + ")" : ")"));
}
***************
*** 237,240 ****
--- 237,243 ----
Revision history:
$Log$
+ Revision 1.14 2003/10/19 09:50:08 billhorsman
+ Debug exception displays class name.
+
Revision 1.13 2003/10/18 20:44:48 billhorsman
Better SQL logging (embed parameter values within SQL call) and works properly with batched statements now.
|