pull/2296/merge
GertDE 2 weeks ago committed by GitHub
commit f2e222e446
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -175,7 +175,7 @@ public abstract class ProxyConnection implements Connection
if (evict) { if (evict) {
var exception = (nse != null) ? nse : sqle; var exception = (nse != null) ? nse : sqle;
LOGGER.warn("{} - Connection {} marked as broken because of SQLSTATE({}), ErrorCode({})", LOGGER.debug("{} - Connection {} marked as broken because of SQLSTATE({}), ErrorCode({})",
poolEntry.getPoolName(), delegate, exception.getSQLState(), exception.getErrorCode(), exception); poolEntry.getPoolName(), delegate, exception.getSQLState(), exception.getErrorCode(), exception);
leakTask.cancel(); leakTask.cancel();
poolEntry.evict("(connection is broken)"); poolEntry.evict("(connection is broken)");
@ -219,7 +219,7 @@ public abstract class ProxyConnection implements Connection
// automatic resource cleanup // automatic resource cleanup
} }
catch (SQLException e) { catch (SQLException e) {
LOGGER.warn("{} - Connection {} marked as broken because of an exception closing open statements during Connection.close()", LOGGER.debug("{} - Connection {} marked as broken because of an exception closing open statements during Connection.close()",
poolEntry.getPoolName(), delegate); poolEntry.getPoolName(), delegate);
leakTask.cancel(); leakTask.cancel();
poolEntry.evict("(exception closing Statements during Connection.close())"); poolEntry.evict("(exception closing Statements during Connection.close())");

Loading…
Cancel
Save