Add more stack trace information to some messaging server exceptions

This commit is contained in:
Justin Clark-Casey (justincc)
2009-12-01 12:34:44 +00:00
parent 39ff943b9c
commit 94b22e1d52
2 changed files with 11 additions and 6 deletions

View File

@@ -350,7 +350,7 @@ namespace OpenSim.Grid.MessagingServer.Modules
ulong regionHandle = Convert.ToUInt64((string)requestData["regionhandle"]);
m_log.InfoFormat("[LOGIN]: User {0} {1} logged into region {2} as {3} agent, building indexes for user",
m_log.DebugFormat("[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();
@@ -363,7 +363,7 @@ namespace OpenSim.Grid.MessagingServer.Modules
}
catch (Exception e)
{
m_log.WarnFormat("[LOGIN]: Exception on UserLoggedOn: {0}", e);
m_log.ErrorFormat("[LOGIN]: Exception on UserLoggedOn: {0} {1}", e.Message, e.StackTrace);
}
return new XmlRpcResponse();