Local transaction commits should be logged to FINE level
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3137365
This commit is contained in:
parent
ecd3d5f8e2
commit
a83182ea5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue