aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorjustincc2009-12-23 15:15:06 +0000
committerjustincc2009-12-23 15:15:06 +0000
commit8026608621cca5d07bf19db1d2024153c99aae0c (patch)
treee749719377c8d7dd123d031f69572c03840b546a
parentTurn off verbose HttpServer.dll logging again (diff)
downloadopensim-SC_OLD-8026608621cca5d07bf19db1d2024153c99aae0c.zip
opensim-SC_OLD-8026608621cca5d07bf19db1d2024153c99aae0c.tar.gz
opensim-SC_OLD-8026608621cca5d07bf19db1d2024153c99aae0c.tar.bz2
opensim-SC_OLD-8026608621cca5d07bf19db1d2024153c99aae0c.tar.xz
Disabling logging of xmlrpc request parsing failures, since this currently results in false positivies
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs17
1 files changed, 14 insertions, 3 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 66d6b0c..1e203f3 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -704,9 +704,20 @@ namespace OpenSim.Framework.Servers.HttpServer
704 } 704 }
705 catch (XmlException e) 705 catch (XmlException e)
706 { 706 {
707 m_log.WarnFormat( 707// Don't log this for now since HandleXmlRpcRequests() acts as the final processing catch all for all requests
708 "[BASE HTTP SERVER]: Ignoring XMLRPC request from {0} due to deserialization exception {1} {2}", 708// that aren't dealt with by another method. Enabling can result in false positives, for instance
709 request.RemoteIPEndPoint, e.Message, e.StackTrace); 709//
710// 14:59:12 - [BASE HTTP SERVER]: Ignoring XMLRPC request from 80.175.122.121:20478
711// due to deserialization exception Data at the root level is invalid. Line 1, pos
712// ition 1. at System.Xml.XmlTextReaderImpl.Throw(Exception e)
713// 14:59:12 - [BASE HTTP SERVER]: Request body auth_token=x3EA9wjAwTjuJwawE6PGqhQ%3
714// D%3D%3A0%3A9303959503950%3A%3A
715//
716// on the region simulator when the client makes a request that we don't deal with
717//
718// m_log.WarnFormat(
719// "[BASE HTTP SERVER]: Ignoring XMLRPC request from {0} due to deserialization exception {1} {2}",
720// request.RemoteIPEndPoint, e.Message, e.StackTrace);
710 } 721 }
711 722
712 if (xmlRprcRequest != null) 723 if (xmlRprcRequest != null)