diff options
Diffstat (limited to 'OpenGridServices.GridServer/Main.cs')
-rw-r--r-- | OpenGridServices.GridServer/Main.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenGridServices.GridServer/Main.cs b/OpenGridServices.GridServer/Main.cs index ba6c60d..532e15d 100644 --- a/OpenGridServices.GridServer/Main.cs +++ b/OpenGridServices.GridServer/Main.cs | |||
@@ -73,7 +73,7 @@ namespace OpenGridServices.GridServer | |||
73 | 73 | ||
74 | private void Work() | 74 | private void Work() |
75 | { | 75 | { |
76 | m_console.WriteLine("\nEnter help for a list of commands\n"); | 76 | m_console.WriteLine(OpenSim.Framework.Console.LogPriority.HIGH,"\nEnter help for a list of commands\n"); |
77 | 77 | ||
78 | while (true) | 78 | while (true) |
79 | { | 79 | { |
@@ -91,16 +91,16 @@ namespace OpenGridServices.GridServer | |||
91 | 91 | ||
92 | public void Startup() | 92 | public void Startup() |
93 | { | 93 | { |
94 | m_console.WriteLine("Main.cs:Startup() - Loading configuration"); | 94 | m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Main.cs:Startup() - Loading configuration"); |
95 | Cfg = this.LoadConfigDll(this.ConfigDll); | 95 | Cfg = this.LoadConfigDll(this.ConfigDll); |
96 | Cfg.InitConfig(); | 96 | Cfg.InitConfig(); |
97 | 97 | ||
98 | m_console.WriteLine("Main.cs:Startup() - Connecting to Storage Server"); | 98 | m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Main.cs:Startup() - Connecting to Storage Server"); |
99 | m_gridManager = new GridManager(); | 99 | m_gridManager = new GridManager(); |
100 | m_gridManager.AddPlugin(GridDll); // Made of win | 100 | m_gridManager.AddPlugin(GridDll); // Made of win |
101 | m_gridManager.defaultRecvKey = Cfg.SimRecvKey; | 101 | m_gridManager.defaultRecvKey = Cfg.SimRecvKey; |
102 | 102 | ||
103 | m_console.WriteLine("Main.cs:Startup() - Starting HTTP process"); | 103 | m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Main.cs:Startup() - Starting HTTP process"); |
104 | BaseHttpServer httpServer = new BaseHttpServer(8001); | 104 | BaseHttpServer httpServer = new BaseHttpServer(8001); |
105 | 105 | ||
106 | httpServer.AddXmlRPCHandler("simulator_login", m_gridManager.XmlRpcLoginToSimulatorMethod); | 106 | httpServer.AddXmlRPCHandler("simulator_login", m_gridManager.XmlRpcLoginToSimulatorMethod); |
@@ -127,7 +127,7 @@ namespace OpenGridServices.GridServer | |||
127 | 127 | ||
128 | httpServer.Start(); | 128 | httpServer.Start(); |
129 | 129 | ||
130 | m_console.WriteLine("Main.cs:Startup() - Starting sim status checker"); | 130 | m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Main.cs:Startup() - Starting sim status checker"); |
131 | 131 | ||
132 | Timer simCheckTimer = new Timer( 300000 ); // 5 minutes | 132 | Timer simCheckTimer = new Timer( 300000 ); // 5 minutes |
133 | simCheckTimer.Elapsed += new ElapsedEventHandler(CheckSims); | 133 | simCheckTimer.Elapsed += new ElapsedEventHandler(CheckSims); |
@@ -204,7 +204,7 @@ namespace OpenGridServices.GridServer | |||
204 | switch (cmd) | 204 | switch (cmd) |
205 | { | 205 | { |
206 | case "help": | 206 | case "help": |
207 | m_console.WriteLine("shutdown - shutdown the grid (USE CAUTION!)"); | 207 | m_console.WriteLine(OpenSim.Framework.Console.LogPriority.HIGH,"shutdown - shutdown the grid (USE CAUTION!)"); |
208 | break; | 208 | break; |
209 | 209 | ||
210 | case "shutdown": | 210 | case "shutdown": |