diff options
author | Melanie | 2010-11-02 22:58:33 +0000 |
---|---|---|
committer | Melanie | 2010-11-02 22:58:33 +0000 |
commit | 26f12f479f17aef37451fb30f9b1de376c8676ac (patch) | |
tree | ecaf084da6ca491301450c0f8a8460a8b1dc981a /OpenSim/Services/Connectors | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
parent | Fix default club feet (diff) | |
download | opensim-SC_OLD-26f12f479f17aef37451fb30f9b1de376c8676ac.zip opensim-SC_OLD-26f12f479f17aef37451fb30f9b1de376c8676ac.tar.gz opensim-SC_OLD-26f12f479f17aef37451fb30f9b1de376c8676ac.tar.bz2 opensim-SC_OLD-26f12f479f17aef37451fb30f9b1de376c8676ac.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianAvatarServiceConnector.cs | 53 | ||||
-rw-r--r-- | OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | 56 |
2 files changed, 55 insertions, 54 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianAvatarServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianAvatarServiceConnector.cs index ea9b4b4..7a28c2b 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianAvatarServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianAvatarServiceConnector.cs | |||
@@ -265,32 +265,33 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
265 | 265 | ||
266 | map["Height"] = OSD.FromReal(appearance.AvatarHeight); | 266 | map["Height"] = OSD.FromReal(appearance.AvatarHeight); |
267 | 267 | ||
268 | map["ShapeItem"] = OSD.FromUUID(appearance.BodyItem); | 268 | map["BodyItem"] = appearance.Wearables[AvatarWearable.BODY][0].ItemID.ToString(); |
269 | map["ShapeAsset"] = OSD.FromUUID(appearance.BodyAsset); | 269 | map["EyesItem"] = appearance.Wearables[AvatarWearable.EYES][0].ItemID.ToString(); |
270 | map["SkinItem"] = OSD.FromUUID(appearance.SkinItem); | 270 | map["GlovesItem"] = appearance.Wearables[AvatarWearable.GLOVES][0].ItemID.ToString(); |
271 | map["SkinAsset"] = OSD.FromUUID(appearance.SkinAsset); | 271 | map["HairItem"] = appearance.Wearables[AvatarWearable.HAIR][0].ItemID.ToString(); |
272 | map["HairItem"] = OSD.FromUUID(appearance.HairItem); | 272 | map["JacketItem"] = appearance.Wearables[AvatarWearable.JACKET][0].ItemID.ToString(); |
273 | map["HairAsset"] = OSD.FromUUID(appearance.HairAsset); | 273 | map["PantsItem"] = appearance.Wearables[AvatarWearable.PANTS][0].ItemID.ToString(); |
274 | map["EyesItem"] = OSD.FromUUID(appearance.EyesItem); | 274 | map["ShirtItem"] = appearance.Wearables[AvatarWearable.SHIRT][0].ItemID.ToString(); |
275 | map["EyesAsset"] = OSD.FromUUID(appearance.EyesAsset); | 275 | map["ShoesItem"] = appearance.Wearables[AvatarWearable.SHOES][0].ItemID.ToString(); |
276 | map["ShirtItem"] = OSD.FromUUID(appearance.ShirtItem); | 276 | map["SkinItem"] = appearance.Wearables[AvatarWearable.SKIN][0].ItemID.ToString(); |
277 | map["ShirtAsset"] = OSD.FromUUID(appearance.ShirtAsset); | 277 | map["SkirtItem"] = appearance.Wearables[AvatarWearable.SKIRT][0].ItemID.ToString(); |
278 | map["PantsItem"] = OSD.FromUUID(appearance.PantsItem); | 278 | map["SocksItem"] = appearance.Wearables[AvatarWearable.SOCKS][0].ItemID.ToString(); |
279 | map["PantsAsset"] = OSD.FromUUID(appearance.PantsAsset); | 279 | map["UnderPantsItem"] = appearance.Wearables[AvatarWearable.UNDERPANTS][0].ItemID.ToString(); |
280 | map["ShoesItem"] = OSD.FromUUID(appearance.ShoesItem); | 280 | map["UnderShirtItem"] = appearance.Wearables[AvatarWearable.UNDERSHIRT][0].ItemID.ToString(); |
281 | map["ShoesAsset"] = OSD.FromUUID(appearance.ShoesAsset); | 281 | map["BodyAsset"] = appearance.Wearables[AvatarWearable.BODY][0].AssetID.ToString(); |
282 | map["SocksItem"] = OSD.FromUUID(appearance.SocksItem); | 282 | map["EyesAsset"] = appearance.Wearables[AvatarWearable.EYES][0].AssetID.ToString(); |
283 | map["SocksAsset"] = OSD.FromUUID(appearance.SocksAsset); | 283 | map["GlovesAsset"] = appearance.Wearables[AvatarWearable.GLOVES][0].AssetID.ToString(); |
284 | map["JacketItem"] = OSD.FromUUID(appearance.JacketItem); | 284 | map["HairAsset"] = appearance.Wearables[AvatarWearable.HAIR][0].AssetID.ToString(); |
285 | map["JacketAsset"] = OSD.FromUUID(appearance.JacketAsset); | 285 | map["JacketAsset"] = appearance.Wearables[AvatarWearable.JACKET][0].AssetID.ToString(); |
286 | map["GlovesItem"] = OSD.FromUUID(appearance.GlovesItem); | 286 | map["PantsAsset"] = appearance.Wearables[AvatarWearable.PANTS][0].AssetID.ToString(); |
287 | map["GlovesAsset"] = OSD.FromUUID(appearance.GlovesAsset); | 287 | map["ShirtAsset"] = appearance.Wearables[AvatarWearable.SHIRT][0].AssetID.ToString(); |
288 | map["UndershirtItem"] = OSD.FromUUID(appearance.UnderShirtItem); | 288 | map["ShoesAsset"] = appearance.Wearables[AvatarWearable.SHOES][0].AssetID.ToString(); |
289 | map["UndershirtAsset"] = OSD.FromUUID(appearance.UnderShirtAsset); | 289 | map["SkinAsset"] = appearance.Wearables[AvatarWearable.SKIN][0].AssetID.ToString(); |
290 | map["UnderpantsItem"] = OSD.FromUUID(appearance.UnderPantsItem); | 290 | map["SkirtAsset"] = appearance.Wearables[AvatarWearable.SKIRT][0].AssetID.ToString(); |
291 | map["UnderpantsAsset"] = OSD.FromUUID(appearance.UnderPantsAsset); | 291 | map["SocksAsset"] = appearance.Wearables[AvatarWearable.SOCKS][0].AssetID.ToString(); |
292 | map["SkirtItem"] = OSD.FromUUID(appearance.SkirtItem); | 292 | map["UnderPantsAsset"] = appearance.Wearables[AvatarWearable.UNDERPANTS][0].AssetID.ToString(); |
293 | map["SkirtAsset"] = OSD.FromUUID(appearance.SkirtAsset); | 293 | map["UnderShirtAsset"] = appearance.Wearables[AvatarWearable.UNDERSHIRT][0].AssetID.ToString(); |
294 | |||
294 | 295 | ||
295 | OSDMap items = new OSDMap(); | 296 | OSDMap items = new OSDMap(); |
296 | foreach (KeyValuePair<string, string> kvp in avatar.Data) | 297 | foreach (KeyValuePair<string, string> kvp in avatar.Data) |
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index 385ba31..0626ebe 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) Contributors, http://opensimulator.org/ | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | * | 4 | * |
@@ -117,7 +117,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
117 | } | 117 | } |
118 | catch (Exception e) | 118 | catch (Exception e) |
119 | { | 119 | { |
120 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Unable to resolve external endpoint on agent create. Reason: " + e.Message); | 120 | m_log.Error("[REMOTE SIMULATION CONNECTOR]: Unable to resolve external endpoint on agent create. Reason: " + e.Message); |
121 | reason = e.Message; | 121 | reason = e.Message; |
122 | return false; | 122 | return false; |
123 | } | 123 | } |
@@ -158,13 +158,13 @@ namespace OpenSim.Services.Connectors.Simulation | |||
158 | AgentCreateRequest.ContentLength = buffer.Length; //Count bytes to send | 158 | AgentCreateRequest.ContentLength = buffer.Length; //Count bytes to send |
159 | os = AgentCreateRequest.GetRequestStream(); | 159 | os = AgentCreateRequest.GetRequestStream(); |
160 | os.Write(buffer, 0, strBuffer.Length); //Send it | 160 | os.Write(buffer, 0, strBuffer.Length); //Send it |
161 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: Posted CreateAgent request to remote sim {0}, region {1}, x={2} y={3}", | 161 | m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: Posted CreateAgent request to remote sim {0}, region {1}, x={2} y={3}", |
162 | uri, destination.RegionName, destination.RegionLocX, destination.RegionLocY); | 162 | uri, destination.RegionName, destination.RegionLocX, destination.RegionLocY); |
163 | } | 163 | } |
164 | //catch (WebException ex) | 164 | //catch (WebException ex) |
165 | catch | 165 | catch |
166 | { | 166 | { |
167 | //m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: Bad send on ChildAgentUpdate {0}", ex.Message); | 167 | //m_log.ErrorFormat("[REMOTE SIMULATION CONNECTOR]: Bad send on ChildAgentUpdate {0}", ex.Message); |
168 | reason = "cannot contact remote region"; | 168 | reason = "cannot contact remote region"; |
169 | return false; | 169 | return false; |
170 | } | 170 | } |
@@ -191,19 +191,19 @@ namespace OpenSim.Services.Connectors.Simulation | |||
191 | webResponse = AgentCreateRequest.GetResponse(); | 191 | webResponse = AgentCreateRequest.GetResponse(); |
192 | if (webResponse == null) | 192 | if (webResponse == null) |
193 | { | 193 | { |
194 | m_log.Info("[REMOTE SIMULATION CONNECTOR]: Null reply on DoCreateChildAgentCall post"); | 194 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Null reply on DoCreateChildAgentCall post"); |
195 | } | 195 | } |
196 | else | 196 | else |
197 | { | 197 | { |
198 | 198 | ||
199 | sr = new StreamReader(webResponse.GetResponseStream()); | 199 | sr = new StreamReader(webResponse.GetResponseStream()); |
200 | response = sr.ReadToEnd().Trim(); | 200 | response = sr.ReadToEnd().Trim(); |
201 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: DoCreateChildAgentCall reply was {0} ", response); | 201 | m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: DoCreateChildAgentCall reply was {0} ", response); |
202 | } | 202 | } |
203 | } | 203 | } |
204 | catch (WebException ex) | 204 | catch (WebException ex) |
205 | { | 205 | { |
206 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of DoCreateChildAgentCall {0}", ex.Message); | 206 | m_log.WarnFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of DoCreateChildAgentCall {0}", ex.Message); |
207 | reason = "Destination did not reply"; | 207 | reason = "Destination did not reply"; |
208 | return string.Empty; | 208 | return string.Empty; |
209 | } | 209 | } |
@@ -231,7 +231,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
231 | } | 231 | } |
232 | catch (NullReferenceException e) | 232 | catch (NullReferenceException e) |
233 | { | 233 | { |
234 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of DoCreateChildAgentCall {0}", e.Message); | 234 | m_log.WarnFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of DoCreateChildAgentCall {0}", e.Message); |
235 | 235 | ||
236 | // check for old style response | 236 | // check for old style response |
237 | if (response.ToLower().StartsWith("true")) | 237 | if (response.ToLower().StartsWith("true")) |
@@ -251,7 +251,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
251 | } | 251 | } |
252 | catch (Exception e) | 252 | catch (Exception e) |
253 | { | 253 | { |
254 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: PackAgentCircuitData failed with exception: " + e.Message); | 254 | m_log.Warn("[REMOTE SIMULATION CONNECTOR]: PackAgentCircuitData failed with exception: " + e.Message); |
255 | return null; | 255 | return null; |
256 | } | 256 | } |
257 | // Add the input arguments | 257 | // Add the input arguments |
@@ -284,7 +284,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
284 | } | 284 | } |
285 | catch (Exception e) | 285 | catch (Exception e) |
286 | { | 286 | { |
287 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Unable to resolve external endpoint on agent update. Reason: " + e.Message); | 287 | m_log.Warn("[REMOTE SIMULATION CONNECTOR]: Unable to resolve external endpoint on agent update. Reason: " + e.Message); |
288 | return false; | 288 | return false; |
289 | } | 289 | } |
290 | //Console.WriteLine(" >>> DoAgentUpdateCall <<< " + uri); | 290 | //Console.WriteLine(" >>> DoAgentUpdateCall <<< " + uri); |
@@ -303,7 +303,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
303 | } | 303 | } |
304 | catch (Exception e) | 304 | catch (Exception e) |
305 | { | 305 | { |
306 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: PackUpdateMessage failed with exception: " + e.Message); | 306 | m_log.Warn("[REMOTE SIMULATION CONNECTOR]: PackUpdateMessage failed with exception: " + e.Message); |
307 | } | 307 | } |
308 | // Add the input arguments | 308 | // Add the input arguments |
309 | args["destination_x"] = OSD.FromString(destination.RegionLocX.ToString()); | 309 | args["destination_x"] = OSD.FromString(destination.RegionLocX.ToString()); |
@@ -332,12 +332,12 @@ namespace OpenSim.Services.Connectors.Simulation | |||
332 | ChildUpdateRequest.ContentLength = buffer.Length; //Count bytes to send | 332 | ChildUpdateRequest.ContentLength = buffer.Length; //Count bytes to send |
333 | os = ChildUpdateRequest.GetRequestStream(); | 333 | os = ChildUpdateRequest.GetRequestStream(); |
334 | os.Write(buffer, 0, strBuffer.Length); //Send it | 334 | os.Write(buffer, 0, strBuffer.Length); //Send it |
335 | //m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: Posted AgentUpdate request to remote sim {0}", uri); | 335 | //m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: Posted AgentUpdate request to remote sim {0}", uri); |
336 | } | 336 | } |
337 | catch (WebException ex) | 337 | catch (WebException ex) |
338 | //catch | 338 | //catch |
339 | { | 339 | { |
340 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: Bad send on AgentUpdate {0}", ex.Message); | 340 | m_log.WarnFormat("[REMOTE SIMULATION CONNECTOR]: Bad send on AgentUpdate {0}", ex.Message); |
341 | 341 | ||
342 | return false; | 342 | return false; |
343 | } | 343 | } |
@@ -348,7 +348,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
348 | } | 348 | } |
349 | 349 | ||
350 | // Let's wait for the response | 350 | // Let's wait for the response |
351 | //m_log.Info("[REMOTE SIMULATION CONNECTOR]: Waiting for a reply after ChildAgentUpdate"); | 351 | //m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Waiting for a reply after ChildAgentUpdate"); |
352 | 352 | ||
353 | WebResponse webResponse = null; | 353 | WebResponse webResponse = null; |
354 | StreamReader sr = null; | 354 | StreamReader sr = null; |
@@ -357,19 +357,19 @@ namespace OpenSim.Services.Connectors.Simulation | |||
357 | webResponse = ChildUpdateRequest.GetResponse(); | 357 | webResponse = ChildUpdateRequest.GetResponse(); |
358 | if (webResponse == null) | 358 | if (webResponse == null) |
359 | { | 359 | { |
360 | m_log.Info("[REMOTE SIMULATION CONNECTOR]: Null reply on ChilAgentUpdate post"); | 360 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Null reply on ChilAgentUpdate post"); |
361 | } | 361 | } |
362 | 362 | ||
363 | sr = new StreamReader(webResponse.GetResponseStream()); | 363 | sr = new StreamReader(webResponse.GetResponseStream()); |
364 | //reply = sr.ReadToEnd().Trim(); | 364 | //reply = sr.ReadToEnd().Trim(); |
365 | sr.ReadToEnd().Trim(); | 365 | sr.ReadToEnd().Trim(); |
366 | sr.Close(); | 366 | sr.Close(); |
367 | //m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: ChilAgentUpdate reply was {0} ", reply); | 367 | //m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: ChilAgentUpdate reply was {0} ", reply); |
368 | 368 | ||
369 | } | 369 | } |
370 | catch (WebException ex) | 370 | catch (WebException ex) |
371 | { | 371 | { |
372 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of ChilAgentUpdate from {0}: {1}", uri, ex.Message); | 372 | m_log.WarnFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of ChilAgentUpdate from {0}: {1}", uri, ex.Message); |
373 | // ignore, really | 373 | // ignore, really |
374 | } | 374 | } |
375 | finally | 375 | finally |
@@ -403,7 +403,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
403 | webResponse = (HttpWebResponse)request.GetResponse(); | 403 | webResponse = (HttpWebResponse)request.GetResponse(); |
404 | if (webResponse == null) | 404 | if (webResponse == null) |
405 | { | 405 | { |
406 | m_log.Info("[REMOTE SIMULATION CONNECTOR]: Null reply on agent get "); | 406 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Null reply on agent get "); |
407 | } | 407 | } |
408 | 408 | ||
409 | sr = new StreamReader(webResponse.GetResponseStream()); | 409 | sr = new StreamReader(webResponse.GetResponseStream()); |
@@ -414,7 +414,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
414 | } | 414 | } |
415 | catch (WebException ex) | 415 | catch (WebException ex) |
416 | { | 416 | { |
417 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of agent get {0}", ex.Message); | 417 | m_log.WarnFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of agent get {0}", ex.Message); |
418 | // ignore, really | 418 | // ignore, really |
419 | return false; | 419 | return false; |
420 | } | 420 | } |
@@ -455,7 +455,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
455 | WebResponse webResponse = request.GetResponse(); | 455 | WebResponse webResponse = request.GetResponse(); |
456 | if (webResponse == null) | 456 | if (webResponse == null) |
457 | { | 457 | { |
458 | m_log.Info("[REMOTE SIMULATION CONNECTOR]: Null reply on ReleaseAgent"); | 458 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Null reply on ReleaseAgent"); |
459 | } | 459 | } |
460 | 460 | ||
461 | sr = new StreamReader(webResponse.GetResponseStream()); | 461 | sr = new StreamReader(webResponse.GetResponseStream()); |
@@ -467,7 +467,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
467 | } | 467 | } |
468 | catch (WebException ex) | 468 | catch (WebException ex) |
469 | { | 469 | { |
470 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of ReleaseAgent {0}", ex.Message); | 470 | m_log.WarnFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of ReleaseAgent {0}", ex.Message); |
471 | return false; | 471 | return false; |
472 | } | 472 | } |
473 | finally | 473 | finally |
@@ -488,7 +488,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
488 | } | 488 | } |
489 | catch (Exception e) | 489 | catch (Exception e) |
490 | { | 490 | { |
491 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Unable to resolve external endpoint on agent close. Reason: " + e.Message); | 491 | m_log.Warn("[REMOTE SIMULATION CONNECTOR]: Unable to resolve external endpoint on agent close. Reason: " + e.Message); |
492 | return false; | 492 | return false; |
493 | } | 493 | } |
494 | 494 | ||
@@ -506,7 +506,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
506 | WebResponse webResponse = request.GetResponse(); | 506 | WebResponse webResponse = request.GetResponse(); |
507 | if (webResponse == null) | 507 | if (webResponse == null) |
508 | { | 508 | { |
509 | m_log.Info("[REMOTE SIMULATION CONNECTOR]: Null reply on agent delete "); | 509 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Null reply on agent delete "); |
510 | } | 510 | } |
511 | 511 | ||
512 | sr = new StreamReader(webResponse.GetResponseStream()); | 512 | sr = new StreamReader(webResponse.GetResponseStream()); |
@@ -518,7 +518,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
518 | } | 518 | } |
519 | catch (WebException ex) | 519 | catch (WebException ex) |
520 | { | 520 | { |
521 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of agent delete from {0}: {1}", destination.RegionName, ex.Message); | 521 | m_log.WarnFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of agent delete from {0}: {1}", destination.RegionName, ex.Message); |
522 | return false; | 522 | return false; |
523 | } | 523 | } |
524 | finally | 524 | finally |
@@ -595,11 +595,11 @@ namespace OpenSim.Services.Connectors.Simulation | |||
595 | ObjectCreateRequest.ContentLength = buffer.Length; //Count bytes to send | 595 | ObjectCreateRequest.ContentLength = buffer.Length; //Count bytes to send |
596 | os = ObjectCreateRequest.GetRequestStream(); | 596 | os = ObjectCreateRequest.GetRequestStream(); |
597 | os.Write(buffer, 0, strBuffer.Length); //Send it | 597 | os.Write(buffer, 0, strBuffer.Length); //Send it |
598 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: Posted CreateObject request to remote sim {0}", uri); | 598 | m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: Posted CreateObject request to remote sim {0}", uri); |
599 | } | 599 | } |
600 | catch (WebException ex) | 600 | catch (WebException ex) |
601 | { | 601 | { |
602 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: Bad send on CreateObject {0}", ex.Message); | 602 | m_log.WarnFormat("[REMOTE SIMULATION CONNECTOR]: Bad send on CreateObject {0}", ex.Message); |
603 | return false; | 603 | return false; |
604 | } | 604 | } |
605 | finally | 605 | finally |
@@ -617,7 +617,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
617 | WebResponse webResponse = ObjectCreateRequest.GetResponse(); | 617 | WebResponse webResponse = ObjectCreateRequest.GetResponse(); |
618 | if (webResponse == null) | 618 | if (webResponse == null) |
619 | { | 619 | { |
620 | m_log.Info("[REMOTE SIMULATION CONNECTOR]: Null reply on CreateObject post"); | 620 | m_log.Warn("[REMOTE SIMULATION CONNECTOR]: Null reply on CreateObject post"); |
621 | return false; | 621 | return false; |
622 | } | 622 | } |
623 | 623 | ||
@@ -629,7 +629,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
629 | } | 629 | } |
630 | catch (WebException ex) | 630 | catch (WebException ex) |
631 | { | 631 | { |
632 | m_log.InfoFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of CreateObject {0}", ex.Message); | 632 | m_log.WarnFormat("[REMOTE SIMULATION CONNECTOR]: exception on reply of CreateObject {0}", ex.Message); |
633 | return false; | 633 | return false; |
634 | } | 634 | } |
635 | finally | 635 | finally |