Minor logging tweaks.

pull/361/head
Brett Wooldridge 10 years ago
parent 428e2b56c8
commit b0b53dc607

@ -256,7 +256,7 @@ public final class PoolElf
} }
if (LOGGER.isDebugEnabled()) { if (LOGGER.isDebugEnabled()) {
LOGGER.debug("{} - Reset {} on connection {}", resetBits != 0 ? stringFromResetBits(resetBits) : "nothing", poolEntry.connection); LOGGER.debug("{} - Reset ({}) on connection {}", resetBits != 0 ? stringFromResetBits(resetBits) : "nothing", poolEntry.connection);
} }
} }

@ -178,6 +178,7 @@ public abstract class ConnectionProxy implements IHikariConnectionProxy
if (!poolEntry.isAutoCommit) { if (!poolEntry.isAutoCommit) {
delegate.rollback(); delegate.rollback();
LOGGER.debug("{} - Executed rollback on connection {} due to dirty commit state on close().", poolEntry.parentPool, delegate);
} }
} }

Loading…
Cancel
Save