Disabling logging of xmlrpc request parsing failures, since this currently results in false positivies

0.6.8-post-fixes
justincc 2009-12-23 15:15:06 +00:00
parent 89397669d1
commit 8026608621
1 changed files with 14 additions and 3 deletions

View File

@ -704,9 +704,20 @@ namespace OpenSim.Framework.Servers.HttpServer
} }
catch (XmlException e) catch (XmlException e)
{ {
m_log.WarnFormat( // Don't log this for now since HandleXmlRpcRequests() acts as the final processing catch all for all requests
"[BASE HTTP SERVER]: Ignoring XMLRPC request from {0} due to deserialization exception {1} {2}", // that aren't dealt with by another method. Enabling can result in false positives, for instance
request.RemoteIPEndPoint, e.Message, e.StackTrace); //
// 14:59:12 - [BASE HTTP SERVER]: Ignoring XMLRPC request from 80.175.122.121:20478
// due to deserialization exception Data at the root level is invalid. Line 1, pos
// ition 1. at System.Xml.XmlTextReaderImpl.Throw(Exception e)
// 14:59:12 - [BASE HTTP SERVER]: Request body auth_token=x3EA9wjAwTjuJwawE6PGqhQ%3
// D%3D%3A0%3A9303959503950%3A%3A
//
// on the region simulator when the client makes a request that we don't deal with
//
// m_log.WarnFormat(
// "[BASE HTTP SERVER]: Ignoring XMLRPC request from {0} due to deserialization exception {1} {2}",
// request.RemoteIPEndPoint, e.Message, e.StackTrace);
} }
if (xmlRprcRequest != null) if (xmlRprcRequest != null)