diff options
author | Justin Clarke Casey | 2009-01-06 21:39:55 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-06 21:39:55 +0000 |
commit | a31792ee5cb1ce619f21f5b428926c4709c3f14b (patch) | |
tree | f82a09b918c277741c97fdf4dca85fe1bd8463ac /OpenSim/Region/Environment/Modules/Avatar/InstantMessage | |
parent | * Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with term... (diff) | |
download | opensim-SC_OLD-a31792ee5cb1ce619f21f5b428926c4709c3f14b.zip opensim-SC_OLD-a31792ee5cb1ce619f21f5b428926c4709c3f14b.tar.gz opensim-SC_OLD-a31792ee5cb1ce619f21f5b428926c4709c3f14b.tar.bz2 opensim-SC_OLD-a31792ee5cb1ce619f21f5b428926c4709c3f14b.tar.xz |
* prune and regrade log messages relating to client login and logout
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/InstantMessage')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs index c811833..a7816b0 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs | |||
@@ -245,7 +245,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage | |||
245 | // Triggered when the user logs off. | 245 | // Triggered when the user logs off. |
246 | public void OnLogout(IClientAPI client) | 246 | public void OnLogout(IClientAPI client) |
247 | { | 247 | { |
248 | m_log.DebugFormat("[PRESENCE]: Got OnLogout from {0}", client.Name); | ||
249 | if (!(client.Scene is Scene)) | 248 | if (!(client.Scene is Scene)) |
250 | return; | 249 | return; |
251 | Scene scene = (Scene)client.Scene; | 250 | Scene scene = (Scene)client.Scene; |
@@ -343,12 +342,12 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage | |||
343 | Hashtable responseData = (Hashtable)resp.Value; | 342 | Hashtable responseData = (Hashtable)resp.Value; |
344 | if (responseData == null || (!responseData.ContainsKey("success")) || (string)responseData["success"] != "TRUE") | 343 | if (responseData == null || (!responseData.ContainsKey("success")) || (string)responseData["success"] != "TRUE") |
345 | { | 344 | { |
346 | m_log.ErrorFormat("[PRESENCE] Failed to notify message server of region startup for region {0}", scene.RegionInfo.RegionName); | 345 | m_log.ErrorFormat("[PRESENCE]: Failed to notify message server of region startup for region {0}", scene.RegionInfo.RegionName); |
347 | } | 346 | } |
348 | } | 347 | } |
349 | catch (System.Net.WebException) | 348 | catch (System.Net.WebException) |
350 | { | 349 | { |
351 | m_log.ErrorFormat("[PRESENCE] Failed to notify message server of region startup for region {0}", scene.RegionInfo.RegionName); | 350 | m_log.ErrorFormat("[PRESENCE]: Failed to notify message server of region startup for region {0}", scene.RegionInfo.RegionName); |
352 | } | 351 | } |
353 | } | 352 | } |
354 | 353 | ||
@@ -366,12 +365,12 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage | |||
366 | Hashtable responseData = (Hashtable)resp.Value; | 365 | Hashtable responseData = (Hashtable)resp.Value; |
367 | if ((!responseData.ContainsKey("success")) || (string)responseData["success"] != "TRUE") | 366 | if ((!responseData.ContainsKey("success")) || (string)responseData["success"] != "TRUE") |
368 | { | 367 | { |
369 | m_log.ErrorFormat("[PRESENCE] Failed to notify message server of region shutdown for region {0}", scene.RegionInfo.RegionName); | 368 | m_log.ErrorFormat("[PRESENCE]: Failed to notify message server of region shutdown for region {0}", scene.RegionInfo.RegionName); |
370 | } | 369 | } |
371 | } | 370 | } |
372 | catch (System.Net.WebException) | 371 | catch (System.Net.WebException) |
373 | { | 372 | { |
374 | m_log.ErrorFormat("[PRESENCE] Failed to notify message server of region shutdown for region {0}", scene.RegionInfo.RegionName); | 373 | m_log.ErrorFormat("[PRESENCE]: Failed to notify message server of region shutdown for region {0}", scene.RegionInfo.RegionName); |
375 | } | 374 | } |
376 | } | 375 | } |
377 | 376 | ||
@@ -391,12 +390,12 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage | |||
391 | Hashtable responseData = (Hashtable)resp.Value; | 390 | Hashtable responseData = (Hashtable)resp.Value; |
392 | if ((!responseData.ContainsKey("success")) || (string)responseData["success"] != "TRUE") | 391 | if ((!responseData.ContainsKey("success")) || (string)responseData["success"] != "TRUE") |
393 | { | 392 | { |
394 | m_log.ErrorFormat("[PRESENCE] Failed to notify message server of agent location for {0}", agentID.ToString()); | 393 | m_log.ErrorFormat("[PRESENCE]: Failed to notify message server of agent location for {0}", agentID.ToString()); |
395 | } | 394 | } |
396 | } | 395 | } |
397 | catch (System.Net.WebException) | 396 | catch (System.Net.WebException) |
398 | { | 397 | { |
399 | m_log.ErrorFormat("[PRESENCE] Failed to notify message server of agent location for {0}", agentID.ToString()); | 398 | m_log.ErrorFormat("[PRESENCE]: Failed to notify message server of agent location for {0}", agentID.ToString()); |
400 | } | 399 | } |
401 | } | 400 | } |
402 | 401 | ||
@@ -416,12 +415,12 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage | |||
416 | Hashtable responseData = (Hashtable)resp.Value; | 415 | Hashtable responseData = (Hashtable)resp.Value; |
417 | if ((!responseData.ContainsKey("success")) || (string)responseData["success"] != "TRUE") | 416 | if ((!responseData.ContainsKey("success")) || (string)responseData["success"] != "TRUE") |
418 | { | 417 | { |
419 | m_log.ErrorFormat("[PRESENCE] Failed to notify message server of agent leaving for {0}", agentID.ToString()); | 418 | m_log.ErrorFormat("[PRESENCE]: Failed to notify message server of agent leaving for {0}", agentID.ToString()); |
420 | } | 419 | } |
421 | } | 420 | } |
422 | catch (System.Net.WebException) | 421 | catch (System.Net.WebException) |
423 | { | 422 | { |
424 | m_log.ErrorFormat("[PRESENCE] Failed to notify message server of agent leaving for {0}", agentID.ToString()); | 423 | m_log.ErrorFormat("[PRESENCE]: Failed to notify message server of agent leaving for {0}", agentID.ToString()); |
425 | } | 424 | } |
426 | } | 425 | } |
427 | } | 426 | } |