Remove the pre-log4net, discrete output methods from the consoles

This commit is contained in:
Melanie Thielker
2009-05-20 13:50:33 +00:00
parent 4c7da1421f
commit 4065ebff15
17 changed files with 73 additions and 337 deletions

View File

@@ -76,6 +76,10 @@ namespace OpenSim.Server.Base
}
m_HttpServer = new BaseHttpServer(port);
if (MainConsole.Instance is RemoteConsole)
{
((RemoteConsole)MainConsole.Instance).SetServer(m_HttpServer);
}
}
protected override void Initialise()

View File

@@ -145,6 +145,11 @@ namespace OpenSim.Server.Base
{
MainConsole.Instance = new CommandConsole(prompt);
}
else if (consoleType == "rest")
{
MainConsole.Instance = new RemoteConsole(prompt);
((RemoteConsole)MainConsole.Instance).ReadConfig(Config);
}
else
{
MainConsole.Instance = new LocalConsole(prompt);