aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenSim.Servers
diff options
context:
space:
mode:
authorAdam Frisby2007-06-20 15:50:06 +0000
committerAdam Frisby2007-06-20 15:50:06 +0000
commit29053589bff370916f4067dade70969499f77ce3 (patch)
tree582e2c839ce2e681dc98087bb12c71241641ffc6 /Common/OpenSim.Servers
parent* Removed ClientThreads from avatar (diff)
downloadopensim-SC-29053589bff370916f4067dade70969499f77ce3.zip
opensim-SC-29053589bff370916f4067dade70969499f77ce3.tar.gz
opensim-SC-29053589bff370916f4067dade70969499f77ce3.tar.bz2
opensim-SC-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 'Common/OpenSim.Servers')
-rw-r--r--Common/OpenSim.Servers/BaseHttpServer.cs6
-rw-r--r--Common/OpenSim.Servers/CheckSumServer.cs4
-rw-r--r--Common/OpenSim.Servers/LoginResponse.cs4
3 files changed, 7 insertions, 7 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 }
diff --git a/Common/OpenSim.Servers/CheckSumServer.cs b/Common/OpenSim.Servers/CheckSumServer.cs
index b988202..14ac11b 100644
--- a/Common/OpenSim.Servers/CheckSumServer.cs
+++ b/Common/OpenSim.Servers/CheckSumServer.cs
@@ -44,7 +44,7 @@ namespace OpenSim.Servers
44{ 44{
45 public class CheckSumServer : UDPServerBase 45 public class CheckSumServer : UDPServerBase
46 { 46 {
47 //protected ConsoleBase m_console; 47 //protected ConsoleBase m_log;
48 48
49 public CheckSumServer(int port) 49 public CheckSumServer(int port)
50 : base(port) 50 : base(port)
@@ -127,7 +127,7 @@ namespace OpenSim.Servers
127 } 127 }
128 catch (Exception) 128 catch (Exception)
129 { 129 {
130 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM, "OpenSimClient.cs:ProcessOutPacket() - WARNING: Socket exception occurred on connection "); 130 OpenSim.Framework.Console.MainLog.Instance.Warn("OpenSimClient.cs:ProcessOutPacket() - WARNING: Socket exception occurred on connection ");
131 131
132 } 132 }
133 } 133 }
diff --git a/Common/OpenSim.Servers/LoginResponse.cs b/Common/OpenSim.Servers/LoginResponse.cs
index d26b304..debfe43 100644
--- a/Common/OpenSim.Servers/LoginResponse.cs
+++ b/Common/OpenSim.Servers/LoginResponse.cs
@@ -211,7 +211,7 @@ namespace OpenSim.UserServer
211 } 211 }
212 catch (Exception e) 212 catch (Exception e)
213 { 213 {
214 OpenSim.Framework.Console.MainConsole.Instance.WriteLine( 214 OpenSim.Framework.Console.MainLog.Instance.WriteLine(
215 OpenSim.Framework.Console.LogPriority.LOW, 215 OpenSim.Framework.Console.LogPriority.LOW,
216 "LoginResponse: Unable to set default values: " + e.Message 216 "LoginResponse: Unable to set default values: " + e.Message
217 ); 217 );
@@ -327,7 +327,7 @@ namespace OpenSim.UserServer
327 } 327 }
328 catch (Exception e) 328 catch (Exception e)
329 { 329 {
330 OpenSim.Framework.Console.MainConsole.Instance.WriteLine( 330 OpenSim.Framework.Console.MainLog.Instance.WriteLine(
331 OpenSim.Framework.Console.LogPriority.LOW, 331 OpenSim.Framework.Console.LogPriority.LOW,
332 "LoginResponse: Error creating XML-RPC Response: " + e.Message 332 "LoginResponse: Error creating XML-RPC Response: " + e.Message
333 ); 333 );