aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Servers/BaseHttpServer.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-05-12 15:19:03 +0000
committerAdam Frisby2007-05-12 15:19:03 +0000
commitfd84968d05dd6168c07d4712a4e84961d7bae839 (patch)
tree97aec2c7c45992c47bc19e1a4a996ec10d1093e0 /OpenSim.Servers/BaseHttpServer.cs
parentYou are obsolete. You will be EXTER-MIN-ATE-D. EXTER-MIN-ATE! (diff)
downloadopensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.zip
opensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.gz
opensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.bz2
opensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.xz
Only 193 warnings to go!
Diffstat (limited to 'OpenSim.Servers/BaseHttpServer.cs')
-rw-r--r--OpenSim.Servers/BaseHttpServer.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim.Servers/BaseHttpServer.cs b/OpenSim.Servers/BaseHttpServer.cs
index bb8f0ad..bd5eed4 100644
--- a/OpenSim.Servers/BaseHttpServer.cs
+++ b/OpenSim.Servers/BaseHttpServer.cs
@@ -7,6 +7,7 @@ using System.Threading;
7//using OpenSim.CAPS; 7//using OpenSim.CAPS;
8using Nwc.XmlRpc; 8using Nwc.XmlRpc;
9using System.Collections; 9using System.Collections;
10using OpenSim.Framework.Console;
10 11
11namespace OpenSim.Servers 12namespace OpenSim.Servers
12{ 13{
@@ -219,7 +220,7 @@ namespace OpenSim.Servers
219 220
220 public void Start() 221 public void Start()
221 { 222 {
222 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("BaseHttpServer.cs: Starting up HTTP Server"); 223 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW,"BaseHttpServer.cs: Starting up HTTP Server");
223 224
224 m_workerThread = new Thread(new ThreadStart(StartHTTP)); 225 m_workerThread = new Thread(new ThreadStart(StartHTTP));
225 m_workerThread.IsBackground = true; 226 m_workerThread.IsBackground = true;
@@ -230,7 +231,7 @@ namespace OpenSim.Servers
230 { 231 {
231 try 232 try
232 { 233 {
233 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("BaseHttpServer.cs: StartHTTP() - Spawned main thread OK"); 234 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW,"BaseHttpServer.cs: StartHTTP() - Spawned main thread OK");
234 m_httpListener = new HttpListener(); 235 m_httpListener = new HttpListener();
235 236
236 m_httpListener.Prefixes.Add("http://+:" + m_port + "/"); 237 m_httpListener.Prefixes.Add("http://+:" + m_port + "/");
@@ -245,7 +246,7 @@ namespace OpenSim.Servers
245 } 246 }
246 catch (Exception e) 247 catch (Exception e)
247 { 248 {
248 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(e.Message); 249 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.MEDIUM,e.Message);
249 } 250 }
250 } 251 }
251 } 252 }