mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
Remove the pre-log4net, discrete output methods from the consoles
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user