add in bits to attempt to enable log4net on these tests to help when debugging

0.6.0-stable
Sean Dague 2008-09-19 20:53:42 +00:00
parent 7eb3b5a578
commit 6dd2841ed8
3 changed files with 27 additions and 0 deletions

View File

@ -45,6 +45,15 @@ namespace OpenSim.Data.Tests
public void SuperInit() public void SuperInit()
{ {
try
{
log4net.Config.XmlConfigurator.Configure();
}
catch (Exception)
{
// I don't care, just leave log4net off
}
uuid1 = UUID.Random(); uuid1 = UUID.Random();
uuid2 = UUID.Random(); uuid2 = UUID.Random();
uuid3 = UUID.Random(); uuid3 = UUID.Random();

View File

@ -65,6 +65,15 @@ namespace OpenSim.Data.Tests
public void SuperInit() public void SuperInit()
{ {
try
{
log4net.Config.XmlConfigurator.Configure();
}
catch (Exception)
{
// I don't care, just leave log4net off
}
folder1 = UUID.Random(); folder1 = UUID.Random();
folder2 = UUID.Random(); folder2 = UUID.Random();
folder3 = UUID.Random(); folder3 = UUID.Random();

View File

@ -45,6 +45,15 @@ namespace OpenSim.Data.Tests
public void SuperInit() public void SuperInit()
{ {
try
{
log4net.Config.XmlConfigurator.Configure();
}
catch (Exception)
{
// I don't care, just leave log4net off
}
uuid1 = UUID.Random(); uuid1 = UUID.Random();
uuid2 = UUID.Random(); uuid2 = UUID.Random();
uuid3 = UUID.Random(); uuid3 = UUID.Random();