aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-08-19 01:57:07 +0100
committerJustin Clark-Casey (justincc)2010-08-19 01:57:07 +0100
commitd547007e73b4cff4442d8cb7d33caf84090bbc4d (patch)
treea51a6c53ea100965b25aa2174986316cf5906d68
parentremove ancient and unused OpenSim.GridLaunch GUI code. (diff)
downloadopensim-SC-d547007e73b4cff4442d8cb7d33caf84090bbc4d.zip
opensim-SC-d547007e73b4cff4442d8cb7d33caf84090bbc4d.tar.gz
opensim-SC-d547007e73b4cff4442d8cb7d33caf84090bbc4d.tar.bz2
opensim-SC-d547007e73b4cff4442d8cb7d33caf84090bbc4d.tar.xz
Improve some logging in LandConnector
This also eliminate the last 'OGS1' logging message (in this case, an erroneous one)
-rw-r--r--OpenSim/Services/Connectors/Land/LandServiceConnector.cs16
1 files changed, 10 insertions, 6 deletions
diff --git a/OpenSim/Services/Connectors/Land/LandServiceConnector.cs b/OpenSim/Services/Connectors/Land/LandServiceConnector.cs
index 8bae4aa..8143b5a 100644
--- a/OpenSim/Services/Connectors/Land/LandServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Land/LandServiceConnector.cs
@@ -88,7 +88,7 @@ namespace OpenSim.Services.Connectors
88 XmlRpcResponse response = request.Send(uri, 10000); 88 XmlRpcResponse response = request.Send(uri, 10000);
89 if (response.IsFault) 89 if (response.IsFault)
90 { 90 {
91 m_log.ErrorFormat("[LAND CONNECTOR] remote call returned an error: {0}", response.FaultString); 91 m_log.ErrorFormat("[LAND CONNECTOR]: remote call returned an error: {0}", response.FaultString);
92 } 92 }
93 else 93 else
94 { 94 {
@@ -110,22 +110,26 @@ namespace OpenSim.Services.Connectors
110 landData.UserLocation = Vector3.Parse((string)hash["UserLocation"]); 110 landData.UserLocation = Vector3.Parse((string)hash["UserLocation"]);
111 if (hash["RegionAccess"] != null) 111 if (hash["RegionAccess"] != null)
112 regionAccess = (byte)Convert.ToInt32((string)hash["RegionAccess"]); 112 regionAccess = (byte)Convert.ToInt32((string)hash["RegionAccess"]);
113 m_log.DebugFormat("[OGS1 GRID SERVICES] Got land data for parcel {0}", landData.Name); 113 m_log.DebugFormat("[LAND CONNECTOR]: Got land data for parcel {0}", landData.Name);
114 } 114 }
115 catch (Exception e) 115 catch (Exception e)
116 { 116 {
117 m_log.Error("[LAND CONNECTOR] Got exception while parsing land-data:", e); 117 m_log.ErrorFormat(
118 "[LAND CONNECTOR]: Got exception while parsing land-data: {0} {1}",
119 e.Message, e.StackTrace);
118 } 120 }
119 } 121 }
120 } 122 }
121 else m_log.WarnFormat("[LAND CONNECTOR] Couldn't find region with handle {0}", regionHandle); 123 else
124 m_log.WarnFormat("[LAND CONNECTOR]: Couldn't find region with handle {0}", regionHandle);
122 } 125 }
123 catch (Exception e) 126 catch (Exception e)
124 { 127 {
125 m_log.ErrorFormat("[LAND CONNECTOR] Couldn't contact region {0}: {1}", regionHandle, e); 128 m_log.ErrorFormat(
129 "[LAND CONNECTOR]: Couldn't contact region {0}: {1} {2}", regionHandle, e.Message, e.StackTrace);
126 } 130 }
127 131
128 return landData; 132 return landData;
129 } 133 }
130 } 134 }
131} 135} \ No newline at end of file