Print out caller IP when unusual requests are received.

cpu-performance
Diva Canto 2013-07-07 20:43:42 -07:00
parent 1286677352
commit bbb9af363d
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ namespace OpenSim.Server.Handlers.Simulation
} }
else else
{ {
m_log.InfoFormat("[AGENT HANDLER]: method {0} not supported in agent message", method); m_log.InfoFormat("[AGENT HANDLER]: method {0} not supported in agent message (caller is {1})", method, Util.GetCallerIP(request));
responsedata["int_response_code"] = HttpStatusCode.MethodNotAllowed; responsedata["int_response_code"] = HttpStatusCode.MethodNotAllowed;
responsedata["str_response_string"] = "Method not allowed"; responsedata["str_response_string"] = "Method not allowed";