Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Transaction/Support
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv28456/Transaction/Support
Modified Files:
AbstractPlatformTransactionManager.cs
Log Message:
SPRNET-485 - Add logging of transaction definition name and description when creating new transaction.
Index: AbstractPlatformTransactionManager.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Transaction/Support/AbstractPlatformTransactionManager.cs,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** AbstractPlatformTransactionManager.cs 30 Aug 2007 19:59:56 -0000 1.23
--- AbstractPlatformTransactionManager.cs 7 Sep 2007 04:46:53 -0000 1.24
***************
*** 502,506 ****
if (debugEnabled)
{
! log.Debug("Creating new transaction with name [" + definition.Name + "]");
}
DoBegin(transaction, definition);
--- 502,506 ----
if (debugEnabled)
{
! log.Debug("Creating new transaction with name [" + definition.Name + "]:" + definition);
}
DoBegin(transaction, definition);
***************
*** 545,549 ****
{
log.Debug("Suspending current transaction, creating new transaction with name [" +
! definition.Name + "]");
}
object suspendedResources = Suspend(transaction);
--- 545,549 ----
{
log.Debug("Suspending current transaction, creating new transaction with name [" +
! definition.Name + "]:" + definition);
}
object suspendedResources = Suspend(transaction);
***************
*** 581,585 ****
if (debugEnabled)
{
! log.Debug("Creating nested transaction with name [" + definition.Name + "]");
}
--- 581,585 ----
if (debugEnabled)
{
! log.Debug("Creating nested transaction with name [" + definition.Name + "]:" + definition);
}
|