diff options
author | Justin Clark-Casey (justincc) | 2009-12-01 12:21:51 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-12-01 12:21:51 +0000 |
commit | 39ff943b9c534e03255a3f3eab7efcd925c6ca6e (patch) | |
tree | 745d423019531eece3b6dbb6868f2831e7e560be | |
parent | minor: formatting, change some logging messages (diff) | |
download | opensim-SC-39ff943b9c534e03255a3f3eab7efcd925c6ca6e.zip opensim-SC-39ff943b9c534e03255a3f3eab7efcd925c6ca6e.tar.gz opensim-SC-39ff943b9c534e03255a3f3eab7efcd925c6ca6e.tar.bz2 opensim-SC-39ff943b9c534e03255a3f3eab7efcd925c6ca6e.tar.xz |
minor: make logging messages more consistent
-rw-r--r-- | OpenSim/Grid/MessagingServer.Modules/MessageService.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Grid/MessagingServer.Modules/MessageService.cs b/OpenSim/Grid/MessagingServer.Modules/MessageService.cs index a3950ce..76784e5 100644 --- a/OpenSim/Grid/MessagingServer.Modules/MessageService.cs +++ b/OpenSim/Grid/MessagingServer.Modules/MessageService.cs | |||
@@ -151,7 +151,7 @@ namespace OpenSim.Grid.MessagingServer.Modules | |||
151 | } | 151 | } |
152 | else | 152 | else |
153 | { | 153 | { |
154 | m_log.WarnFormat("no data found for user {0}", receiver.agentData.AgentID); | 154 | m_log.WarnFormat("[PRESENCE]: no data found for user {0}", receiver.agentData.AgentID); |
155 | // Skip because we can't find any data on the user | 155 | // Skip because we can't find any data on the user |
156 | } | 156 | } |
157 | } | 157 | } |
@@ -281,7 +281,7 @@ namespace OpenSim.Grid.MessagingServer.Modules | |||
281 | } | 281 | } |
282 | catch (WebException e) | 282 | catch (WebException e) |
283 | { | 283 | { |
284 | m_log.Warn("Error when trying to fetch Avatar's friends list: " + | 284 | m_log.Warn("[FRIENDS]: Error when trying to fetch Avatar's friends list: " + |
285 | e.Message); | 285 | e.Message); |
286 | // Return Empty list (no friends) | 286 | // Return Empty list (no friends) |
287 | } | 287 | } |
@@ -350,7 +350,7 @@ namespace OpenSim.Grid.MessagingServer.Modules | |||
350 | 350 | ||
351 | ulong regionHandle = Convert.ToUInt64((string)requestData["regionhandle"]); | 351 | ulong regionHandle = Convert.ToUInt64((string)requestData["regionhandle"]); |
352 | 352 | ||
353 | m_log.InfoFormat("[LOGON]: User {0} {1} logged into region {2} as {3} agent, building indexes for user", | 353 | m_log.InfoFormat("[LOGIN]: User {0} {1} logged into region {2} as {3} agent, building indexes for user", |
354 | agentData.firstname, agentData.lastname, regionHandle, agentData.child ? "child" : "root"); | 354 | agentData.firstname, agentData.lastname, regionHandle, agentData.child ? "child" : "root"); |
355 | 355 | ||
356 | UserPresenceData up = new UserPresenceData(); | 356 | UserPresenceData up = new UserPresenceData(); |
@@ -476,7 +476,7 @@ namespace OpenSim.Grid.MessagingServer.Modules | |||
476 | UUID regionID; | 476 | UUID regionID; |
477 | if (UUID.TryParse((string)requestData["regionid"], out regionID)) | 477 | if (UUID.TryParse((string)requestData["regionid"], out regionID)) |
478 | { | 478 | { |
479 | m_log.DebugFormat("[PRESENCE] Processing region restart for {0}", regionID); | 479 | m_log.DebugFormat("[PRESENCE]: Processing region restart for {0}", regionID); |
480 | result["success"] = "TRUE"; | 480 | result["success"] = "TRUE"; |
481 | 481 | ||
482 | foreach (UserPresenceData up in m_presences.Values) | 482 | foreach (UserPresenceData up in m_presences.Values) |
@@ -485,7 +485,7 @@ namespace OpenSim.Grid.MessagingServer.Modules | |||
485 | { | 485 | { |
486 | if (up.OnlineYN) | 486 | if (up.OnlineYN) |
487 | { | 487 | { |
488 | m_log.DebugFormat("[PRESENCE] Logging off {0} because the region they were in has gone", up.agentData.AgentID); | 488 | m_log.DebugFormat("[PRESENCE]: Logging off {0} because the region they were in has gone", up.agentData.AgentID); |
489 | ProcessLogOff(up.agentData.AgentID); | 489 | ProcessLogOff(up.agentData.AgentID); |
490 | } | 490 | } |
491 | } | 491 | } |