aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorCharles Krinke2008-08-23 21:44:57 +0000
committerCharles Krinke2008-08-23 21:44:57 +0000
commit89f2148f56eccb773b0241e16d5d5e8029e9aee7 (patch)
tree7ce4995e082577cb57838eea965668a9797ed81b /OpenSim
parentMantis#2036. Thank you kindly, HomerHorwitz for a patch that: (diff)
downloadopensim-SC_OLD-89f2148f56eccb773b0241e16d5d5e8029e9aee7.zip
opensim-SC_OLD-89f2148f56eccb773b0241e16d5d5e8029e9aee7.tar.gz
opensim-SC_OLD-89f2148f56eccb773b0241e16d5d5e8029e9aee7.tar.bz2
opensim-SC_OLD-89f2148f56eccb773b0241e16d5d5e8029e9aee7.tar.xz
Mantis#2036. Thank you kindly, HomerHorwitz for a patch that:
Not enough logging. Added IP endpoing of request to the log messages on lookup-failure
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/GridServer/GridManager.cs18
1 files changed, 15 insertions, 3 deletions
diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs
index 7c9e776..eb4aea6 100644
--- a/OpenSim/Grid/GridServer/GridManager.cs
+++ b/OpenSim/Grid/GridServer/GridManager.cs
@@ -718,7 +718,11 @@ namespace OpenSim.Grid.GridServer
718 { 718 {
719 LLUUID regionID = new LLUUID((string)requestData["region_UUID"]); 719 LLUUID regionID = new LLUUID((string)requestData["region_UUID"]);
720 simData = GetRegion(regionID); 720 simData = GetRegion(regionID);
721 if (simData == null) m_log.WarnFormat("[DATA] didn't find region for regionID {0}", regionID); 721 if (simData == null)
722 {
723 m_log.WarnFormat("[DATA] didn't find region for regionID {0} from {1}",
724 regionID, request.Params.Count > 1 ? request.Params[1] : "unknwon source");
725 }
722 } 726 }
723 else if (requestData.ContainsKey("region_handle")) 727 else if (requestData.ContainsKey("region_handle"))
724 { 728 {
@@ -726,13 +730,21 @@ namespace OpenSim.Grid.GridServer
726 //CFK: Console.WriteLine("requesting data for region " + (string) requestData["region_handle"]); 730 //CFK: Console.WriteLine("requesting data for region " + (string) requestData["region_handle"]);
727 ulong regionHandle = Convert.ToUInt64((string)requestData["region_handle"]); 731 ulong regionHandle = Convert.ToUInt64((string)requestData["region_handle"]);
728 simData = GetRegion(regionHandle); 732 simData = GetRegion(regionHandle);
729 if (simData == null) m_log.WarnFormat("[DATA] didn't find region for regionHandle {0}", regionHandle); 733 if (simData == null)
734 {
735 m_log.WarnFormat("[DATA] didn't find region for regionHandle {0} from {1}",
736 regionHandle, request.Params.Count > 1 ? request.Params[1] : "unknwon source");
737 }
730 } 738 }
731 else if (requestData.ContainsKey("region_name_search")) 739 else if (requestData.ContainsKey("region_name_search"))
732 { 740 {
733 string regionName = (string)requestData["region_name_search"]; 741 string regionName = (string)requestData["region_name_search"];
734 simData = GetRegion(regionName); 742 simData = GetRegion(regionName);
735 if (simData == null) m_log.WarnFormat("[DATA] didn't find region for regionName {0}", regionName); 743 if (simData == null)
744 {
745 m_log.WarnFormat("[DATA] didn't find region for regionName {0} from {1}",
746 regionName, request.Params.Count > 1 ? request.Params[1] : "unknwon source");
747 }
736 } 748 }
737 else m_log.Warn("[DATA] regionlookup without regionID, regionHandle or regionHame"); 749 else m_log.Warn("[DATA] regionlookup without regionID, regionHandle or regionHame");
738 750