From 39ff943b9c534e03255a3f3eab7efcd925c6ca6e Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 1 Dec 2009 12:21:51 +0000 Subject: minor: make logging messages more consistent --- OpenSim/Grid/MessagingServer.Modules/MessageService.cs | 10 +++++----- 1 file 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 } else { - m_log.WarnFormat("no data found for user {0}", receiver.agentData.AgentID); + m_log.WarnFormat("[PRESENCE]: no data found for user {0}", receiver.agentData.AgentID); // Skip because we can't find any data on the user } } @@ -281,7 +281,7 @@ namespace OpenSim.Grid.MessagingServer.Modules } catch (WebException e) { - m_log.Warn("Error when trying to fetch Avatar's friends list: " + + m_log.Warn("[FRIENDS]: Error when trying to fetch Avatar's friends list: " + e.Message); // Return Empty list (no friends) } @@ -350,7 +350,7 @@ namespace OpenSim.Grid.MessagingServer.Modules ulong regionHandle = Convert.ToUInt64((string)requestData["regionhandle"]); - m_log.InfoFormat("[LOGON]: User {0} {1} logged into region {2} as {3} agent, building indexes for user", + m_log.InfoFormat("[LOGIN]: User {0} {1} logged into region {2} as {3} agent, building indexes for user", agentData.firstname, agentData.lastname, regionHandle, agentData.child ? "child" : "root"); UserPresenceData up = new UserPresenceData(); @@ -476,7 +476,7 @@ namespace OpenSim.Grid.MessagingServer.Modules UUID regionID; if (UUID.TryParse((string)requestData["regionid"], out regionID)) { - m_log.DebugFormat("[PRESENCE] Processing region restart for {0}", regionID); + m_log.DebugFormat("[PRESENCE]: Processing region restart for {0}", regionID); result["success"] = "TRUE"; foreach (UserPresenceData up in m_presences.Values) @@ -485,7 +485,7 @@ namespace OpenSim.Grid.MessagingServer.Modules { if (up.OnlineYN) { - m_log.DebugFormat("[PRESENCE] Logging off {0} because the region they were in has gone", up.agentData.AgentID); + m_log.DebugFormat("[PRESENCE]: Logging off {0} because the region they were in has gone", up.agentData.AgentID); ProcessLogOff(up.agentData.AgentID); } } -- cgit v1.1