Remove the somewhat misleading logging of the string length of some unknown requests, as this appeared to be some kind of numbered error code.

This brings these messages into line with similar messages that did not do this.
0.7.3-extended
Justin Clark-Casey (justincc) 2012-05-03 02:22:06 +01:00
parent 0c96d7ea5c
commit 0f5a77c5bd
3 changed files with 5 additions and 4 deletions

View File

@ -95,7 +95,8 @@ namespace OpenSim.Server.Handlers.Friends
return DeleteFriendString(request);
}
m_log.DebugFormat("[FRIENDS HANDLER]: unknown method {0} request {1}", method.Length, method);
m_log.DebugFormat("[FRIENDS HANDLER]: unknown method request {0}", method);
}
catch (Exception e)
{
@ -103,7 +104,6 @@ namespace OpenSim.Server.Handlers.Friends
}
return FailureResult();
}
#region Method-specific handlers

View File

@ -116,7 +116,7 @@ namespace OpenSim.Server.Handlers.Grid
return GetRegionFlags(request);
}
m_log.DebugFormat("[GRID HANDLER]: unknown method {0} request {1}", method.Length, method);
m_log.DebugFormat("[GRID HANDLER]: unknown method request {0}", method);
}
catch (Exception e)
{

View File

@ -91,7 +91,8 @@ namespace OpenSim.Server.Handlers.Hypergrid
case "deletefriendship":
return DeleteFriendship(request);
}
m_log.DebugFormat("[HGFRIENDS HANDLER]: unknown method {0} request {1}", method.Length, method);
m_log.DebugFormat("[HGFRIENDS HANDLER]: unknown method {0}", method);
}
catch (Exception e)
{