aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Servers/OpenGridProtocol.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.Servers/OpenGridProtocol.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim.Servers/OpenGridProtocol.cs b/OpenSim.Servers/OpenGridProtocol.cs
index 55c47b4..66ca497 100644
--- a/OpenSim.Servers/OpenGridProtocol.cs
+++ b/OpenSim.Servers/OpenGridProtocol.cs
@@ -7,6 +7,7 @@ using System.Text.RegularExpressions;
7using System.Threading; 7using System.Threading;
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{
@@ -35,8 +36,8 @@ namespace OpenSim.Servers
35 36
36 private void DoWork() 37 private void DoWork()
37 { 38 {
38 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("OpenGridProtocol.cs: ClientHandler.DoWork() - Got new client"); 39 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW,"OpenGridProtocol.cs: ClientHandler.DoWork() - Got new client");
39 this.WriteLine("OpenSim 0.1, running OGS protocol 1.0"); 40 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.NORMAL, "OpenSim 0.1, running OGS protocol 1.0");
40 41
41 } 42 }
42 43
@@ -55,7 +56,7 @@ namespace OpenSim.Servers
55 56
56 public void Start() 57 public void Start()
57 { 58 {
58 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("OpenGridProtocol.cs: Start() - Opening server socket"); 59 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW,"OpenGridProtocol.cs: Start() - Opening server socket");
59 60
60 m_clients = new ArrayList(); 61 m_clients = new ArrayList();
61 m_workerThread = new Thread(new ThreadStart(StartServerSocket)); 62 m_workerThread = new Thread(new ThreadStart(StartServerSocket));
@@ -67,7 +68,7 @@ namespace OpenSim.Servers
67 { 68 {
68 try 69 try
69 { 70 {
70 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("OpenGridProtocol.cs: StartServerSocket() - Spawned main thread OK"); 71 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW,"OpenGridProtocol.cs: StartServerSocket() - Spawned main thread OK");
71 72
72 73
73 m_IPendpoint = new IPEndPoint(IPAddress.Any, m_port); 74 m_IPendpoint = new IPEndPoint(IPAddress.Any, m_port);
@@ -87,7 +88,7 @@ namespace OpenSim.Servers
87 } 88 }
88 catch (Exception e) 89 catch (Exception e)
89 { 90 {
90 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(e.Message); 91 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.MEDIUM,e.Message);
91 } 92 }
92 } 93 }
93 } 94 }