fix:fix log output information error (#501)

Co-authored-by: zhangpeng <xinniankuailezp@163.com>
This commit is contained in:
ZP 2023-05-23 09:58:17 +08:00 committed by GitHub
parent f891c631cb
commit c83de09ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ public final class LocalTxUtil {
ConnectionFactory.notify(xid, false); ConnectionFactory.notify(xid, false);
} finally { } finally {
if (!hasSavepoint) { if (!hasSavepoint) {
log.debug("dynamic-datasource commit local tx [{}]", TransactionContext.getXID()); log.debug("dynamic-datasource rollback local tx [{}]", TransactionContext.getXID());
TransactionContext.remove(); TransactionContext.remove();
} }
} }