update log level to debug

This prevents unnecessary log spam in production environments.
pull/2296/head
GertDE 2 weeks ago committed by GitHub
parent a28b6ec81d
commit 7d8c27202c
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) {
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);
leakTask.cancel();
poolEntry.evict("(connection is broken)");
@ -219,7 +219,7 @@ public abstract class ProxyConnection implements Connection
// automatic resource cleanup
}
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);
leakTask.cancel();
poolEntry.evict("(exception closing Statements during Connection.close())");

Loading…
Cancel
Save