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.4.1
Justin Clark-Casey (justincc) 2012-05-03 02:22:06 +01:00
parent 9ffc2c1062
commit bf5f8b54ae
3 changed files with 5 additions and 4 deletions

View File

@ -95,7 +95,8 @@ namespace OpenSim.Server.Handlers.Friends
return DeleteFriendString(request); 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) catch (Exception e)
{ {
@ -103,7 +104,6 @@ namespace OpenSim.Server.Handlers.Friends
} }
return FailureResult(); return FailureResult();
} }
#region Method-specific handlers #region Method-specific handlers

View File

@ -116,7 +116,7 @@ namespace OpenSim.Server.Handlers.Grid
return GetRegionFlags(request); 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) catch (Exception e)
{ {

View File

@ -122,7 +122,8 @@ namespace OpenSim.Server.Handlers.Hypergrid
return GrantRights(request); return GrantRights(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) catch (Exception e)
{ {