aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/ClientView.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-06-20 15:50:06 +0000
committerAdam Frisby2007-06-20 15:50:06 +0000
commit29053589bff370916f4067dade70969499f77ce3 (patch)
tree582e2c839ce2e681dc98087bb12c71241641ffc6 /OpenSim/OpenSim.RegionServer/ClientView.cs
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 'OpenSim/OpenSim.RegionServer/ClientView.cs')
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.cs b/OpenSim/OpenSim.RegionServer/ClientView.cs
index c5f0a1d..b089bdc 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.cs
@@ -90,7 +90,7 @@ namespace OpenSim
90 m_inventoryCache = inventoryCache; 90 m_inventoryCache = inventoryCache;
91 m_authenticateSessionsHandler = authenSessions; 91 m_authenticateSessionsHandler = authenSessions;
92 92
93 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "OpenSimClient.cs - Started up new client thread to handle incoming request"); 93 OpenSim.Framework.Console.MainLog.Instance.Verbose( "OpenSimClient.cs - Started up new client thread to handle incoming request");
94 cirpack = initialcirpack; 94 cirpack = initialcirpack;
95 userEP = remoteEP; 95 userEP = remoteEP;
96 96
@@ -188,7 +188,7 @@ namespace OpenSim
188 188
189 protected virtual void ClientLoop() 189 protected virtual void ClientLoop()
190 { 190 {
191 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "OpenSimClient.cs:ClientLoop() - Entered loop"); 191 OpenSim.Framework.Console.MainLog.Instance.Verbose( "OpenSimClient.cs:ClientLoop() - Entered loop");
192 while (true) 192 while (true)
193 { 193 {
194 QueItem nextPacket = PacketQueue.Dequeue(); 194 QueItem nextPacket = PacketQueue.Dequeue();
@@ -210,7 +210,7 @@ namespace OpenSim
210 210
211 protected virtual void InitNewClient() 211 protected virtual void InitNewClient()
212 { 212 {
213 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "OpenSimClient.cs:InitNewClient() - Adding viewer agent to world"); 213 OpenSim.Framework.Console.MainLog.Instance.Verbose( "OpenSimClient.cs:InitNewClient() - Adding viewer agent to world");
214 this.m_world.AddNewAvatar(this, this.AgentID, false); 214 this.m_world.AddNewAvatar(this, this.AgentID, false);
215 } 215 }
216 216
@@ -221,12 +221,12 @@ namespace OpenSim
221 if (!sessionInfo.Authorised) 221 if (!sessionInfo.Authorised)
222 { 222 {
223 //session/circuit not authorised 223 //session/circuit not authorised
224 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.NORMAL, "OpenSimClient.cs:AuthUser() - New user request denied to " + userEP.ToString()); 224 OpenSim.Framework.Console.MainLog.Instance.Notice("OpenSimClient.cs:AuthUser() - New user request denied to " + userEP.ToString());
225 ClientThread.Abort(); 225 ClientThread.Abort();
226 } 226 }
227 else 227 else
228 { 228 {
229 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.NORMAL, "OpenSimClient.cs:AuthUser() - Got authenticated connection from " + userEP.ToString()); 229 OpenSim.Framework.Console.MainLog.Instance.Notice("OpenSimClient.cs:AuthUser() - Got authenticated connection from " + userEP.ToString());
230 //session is authorised 230 //session is authorised
231 this.AgentID = cirpack.CircuitCode.ID; 231 this.AgentID = cirpack.CircuitCode.ID;
232 this.SessionID = cirpack.CircuitCode.SessionID; 232 this.SessionID = cirpack.CircuitCode.SessionID;