diff options
author | Adam Frisby | 2007-05-12 15:44:10 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-12 15:44:10 +0000 |
commit | ec1901e4b8bcd1dd8487cd4b5ee48a7c58748f3d (patch) | |
tree | 569da9ef2e6e528ea799d8c7e1eac637cdffa889 /OpenGridServices.GridServer/Main.cs | |
parent | 93 warnings in the compiler, 93 warnings appear, you fix one up, create two m... (diff) | |
download | opensim-SC_OLD-ec1901e4b8bcd1dd8487cd4b5ee48a7c58748f3d.zip opensim-SC_OLD-ec1901e4b8bcd1dd8487cd4b5ee48a7c58748f3d.tar.gz opensim-SC_OLD-ec1901e4b8bcd1dd8487cd4b5ee48a7c58748f3d.tar.bz2 opensim-SC_OLD-ec1901e4b8bcd1dd8487cd4b5ee48a7c58748f3d.tar.xz |
EXTERM-INATED. (Add warnings produced by WriteLine change have been updated to include Log Priority)
Diffstat (limited to '')
-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": |