diff options
author | Sean Dague | 2008-09-19 20:53:42 +0000 |
---|---|---|
committer | Sean Dague | 2008-09-19 20:53:42 +0000 |
commit | 6dd2841ed8f52f757b9fc8d07b0a07bac3bd9293 (patch) | |
tree | f9b16baa61b71039c6a683cf82923027d0a0fde3 /OpenSim/Data/Tests/BasicAssetTest.cs | |
parent | * minor: eliminate the current warnings (diff) | |
download | opensim-SC_OLD-6dd2841ed8f52f757b9fc8d07b0a07bac3bd9293.zip opensim-SC_OLD-6dd2841ed8f52f757b9fc8d07b0a07bac3bd9293.tar.gz opensim-SC_OLD-6dd2841ed8f52f757b9fc8d07b0a07bac3bd9293.tar.bz2 opensim-SC_OLD-6dd2841ed8f52f757b9fc8d07b0a07bac3bd9293.tar.xz |
add in bits to attempt to enable log4net on these tests to help when debugging
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/Tests/BasicAssetTest.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicAssetTest.cs b/OpenSim/Data/Tests/BasicAssetTest.cs index 47c25a1..e40bccb 100644 --- a/OpenSim/Data/Tests/BasicAssetTest.cs +++ b/OpenSim/Data/Tests/BasicAssetTest.cs | |||
@@ -45,6 +45,15 @@ namespace OpenSim.Data.Tests | |||
45 | 45 | ||
46 | public void SuperInit() | 46 | public void SuperInit() |
47 | { | 47 | { |
48 | try | ||
49 | { | ||
50 | log4net.Config.XmlConfigurator.Configure(); | ||
51 | } | ||
52 | catch (Exception) | ||
53 | { | ||
54 | // I don't care, just leave log4net off | ||
55 | } | ||
56 | |||
48 | uuid1 = UUID.Random(); | 57 | uuid1 = UUID.Random(); |
49 | uuid2 = UUID.Random(); | 58 | uuid2 = UUID.Random(); |
50 | uuid3 = UUID.Random(); | 59 | uuid3 = UUID.Random(); |