diff --git a/org.adempiere.base/src/org/compiere/util/Trx.java b/org.adempiere.base/src/org/compiere/util/Trx.java index 2672ca0943..6b61fdd5ad 100644 --- a/org.adempiere.base/src/org/compiere/util/Trx.java +++ b/org.adempiere.base/src/org/compiere/util/Trx.java @@ -279,7 +279,7 @@ public class Trx implements VetoableChangeListener if (m_connection != null) { m_connection.rollback(); - log.info ("**** " + m_trxName); + log.log(isLocalTrx(m_trxName) ? Level.FINE : Level.INFO, "**** " + m_trxName); m_active = false; return true; } @@ -636,4 +636,12 @@ public class Trx implements VetoableChangeListener } } + + private boolean isLocalTrx(String trxName) + { + return trxName == null + || trxName.startsWith("POSave") // TODO: hardcoded + ; + } + } // Trx