mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
This commit is contained in:
@@ -52,10 +52,10 @@ namespace OpenSim.Test.Inventory
|
||||
[TestFixtureSetUp]
|
||||
public void SetupInventoryTest()
|
||||
{
|
||||
|
||||
_agent_1_id = LLUUID.Random();
|
||||
|
||||
MainLog.Instance = new LogBase("UnitTest.log", "TEST", null, false);
|
||||
MainConsole.Instance = new ConsoleBase("TEST", null);
|
||||
|
||||
// _dbPlugin = new SQLiteInventoryStore();
|
||||
_dbPlugin = new MySQLInventoryData();
|
||||
_dbPlugin.Initialise();
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace OpenSim.Tests.UserServer.Stress
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
log4net.Config.XmlConfigurator.Configure();
|
||||
|
||||
System.Console.WriteLine("Aborting - not yet functional");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user