diff options
author | Adam Frisby | 2007-06-20 15:50:06 +0000 |
---|---|---|
committer | Adam Frisby | 2007-06-20 15:50:06 +0000 |
commit | 29053589bff370916f4067dade70969499f77ce3 (patch) | |
tree | 582e2c839ce2e681dc98087bb12c71241641ffc6 /Common/OpenSim.Servers/BaseHttpServer.cs | |
parent | * Removed ClientThreads from avatar (diff) | |
download | opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.zip opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.gz opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.bz2 opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.xz |
* Replaced old logging mechanism with new shiny logging mechanism
* Console, I bid thee farewall. Use "Log" now where console used to exist.
Diffstat (limited to '')
-rw-r--r-- | Common/OpenSim.Servers/BaseHttpServer.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Common/OpenSim.Servers/BaseHttpServer.cs b/Common/OpenSim.Servers/BaseHttpServer.cs index a966ea4..3daec8d 100644 --- a/Common/OpenSim.Servers/BaseHttpServer.cs +++ b/Common/OpenSim.Servers/BaseHttpServer.cs | |||
@@ -250,7 +250,7 @@ namespace OpenSim.Servers | |||
250 | 250 | ||
251 | public void Start() | 251 | public void Start() |
252 | { | 252 | { |
253 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW, "BaseHttpServer.cs: Starting up HTTP Server"); | 253 | OpenSim.Framework.Console.MainLog.Instance.WriteLine(LogPriority.LOW, "BaseHttpServer.cs: Starting up HTTP Server"); |
254 | 254 | ||
255 | m_workerThread = new Thread(new ThreadStart(StartHTTP)); | 255 | m_workerThread = new Thread(new ThreadStart(StartHTTP)); |
256 | m_workerThread.IsBackground = true; | 256 | m_workerThread.IsBackground = true; |
@@ -261,7 +261,7 @@ namespace OpenSim.Servers | |||
261 | { | 261 | { |
262 | try | 262 | try |
263 | { | 263 | { |
264 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW, "BaseHttpServer.cs: StartHTTP() - Spawned main thread OK"); | 264 | OpenSim.Framework.Console.MainLog.Instance.WriteLine(LogPriority.LOW, "BaseHttpServer.cs: StartHTTP() - Spawned main thread OK"); |
265 | m_httpListener = new HttpListener(); | 265 | m_httpListener = new HttpListener(); |
266 | 266 | ||
267 | m_httpListener.Prefixes.Add("http://+:" + m_port + "/"); | 267 | m_httpListener.Prefixes.Add("http://+:" + m_port + "/"); |
@@ -276,7 +276,7 @@ namespace OpenSim.Servers | |||
276 | } | 276 | } |
277 | catch (Exception e) | 277 | catch (Exception e) |
278 | { | 278 | { |
279 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.MEDIUM, e.Message); | 279 | OpenSim.Framework.Console.MainLog.Instance.WriteLine(LogPriority.MEDIUM, e.Message); |
280 | } | 280 | } |
281 | } | 281 | } |
282 | } | 282 | } |