minor improvements to debug logging

This commit is contained in:
markpollack
2009-06-04 04:03:05 +00:00
parent ca0c1282a1
commit f70609723f

View File

@@ -365,9 +365,9 @@ namespace Spring.Transaction.Interceptor
// false. We created it only to preserve the integrity of
// the ThreadLocal stack maintained in this class.
if (log.IsDebugEnabled)
{
log.Debug("Don't need to create transaction for [" + joinpointIdentification +
"]: this method isn't transactional");
{
log.Debug("Skipping transactional joinpoint [" + joinpointIdentification +
"] because no transaction manager has been configured");
}
}
@@ -408,8 +408,8 @@ namespace Spring.Transaction.Interceptor
#region Instrumentation
if (log.IsDebugEnabled)
{
log.Debug("Invoking commit for transaction on " + transactionInfo.JoinpointIdentification);
{
log.Debug("Completing transaction for [" + transactionInfo.JoinpointIdentification + "]");
}
#endregion