* prune and regrade log messages relating to client login and logout

This commit is contained in:
Justin Clarke Casey
2009-01-06 21:39:55 +00:00
parent 31b0f07085
commit a31792ee5c
21 changed files with 92 additions and 181 deletions

View File

@@ -534,8 +534,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
m_clientPingTimer.Enabled = false;
m_log.DebugFormat(
"[CLIENT]: Close has been called with shutdownCircuit = {0} on scene {1}",
shutdownCircuit, m_scene.RegionInfo.RegionName);
"[CLIENT]: Close has been called with shutdownCircuit = {0} for {1} attached to scene {2}",
shutdownCircuit, Name, m_scene.RegionInfo.RegionName);
m_PacketHandler.Flush();
@@ -724,7 +724,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
protected virtual void ClientLoop()
{
m_log.DebugFormat(
"[CLIENT]: Entered main packet processing loop for {0} {1}", FirstName, LastName);
"[CLIENT]: Entered main packet processing loop for {0} in {1}", Name, Scene.RegionInfo.RegionName);
while (IsActive)
{
@@ -3807,7 +3807,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
/// <returns></returns>
protected virtual bool Logout(IClientAPI client)
{
m_log.Info("[CLIENT]: Got a logout request");
m_log.InfoFormat("[CLIENT]: Got a logout request for {0} in {1}", Name, Scene.RegionInfo.RegionName);
handlerLogout = OnLogout;
@@ -4419,8 +4419,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (handlerRequestWearables != null)
{
m_log.DebugFormat("[APPEARANCE]: Wearables requested by {0}", Name);
handlerRequestWearables();
}

View File

@@ -258,7 +258,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
public void WipeClean()
{
m_log.Info("[PACKETQUEUE] Wiping Packet Queues Clean");
lock (this)
{
ResendOutgoingPacketQueue.Clear();
@@ -275,7 +274,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
public void Close()
{
m_log.Info("[PACKETQUEUE] Close called");
Flush();
WipeClean(); // I'm sure there's a dirty joke in here somewhere. -AFrisby

View File

@@ -407,9 +407,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
/// <param name="epSender"></param>
/// <param name="epProxy"></param>
protected virtual void AddNewClient(UseCircuitCodePacket useCircuit, EndPoint epSender, EndPoint epProxy)
{
m_log.Debug("[CONNECTION DEBUGGING] AddNewClient Called");
{
//Slave regions don't accept new clients
if (m_localScene.Region_Status != RegionStatus.SlaveScene)
{
@@ -426,7 +424,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
else
{
m_log.Info("[CLIENT]: Got authenticated connection from " + epSender);
m_log.Debug("[CLIENT]: Got authenticated connection from " + epSender);
}
lock (clientCircuits)