Still hunting, added debug output

ThreadPoolClientBranch
Tedd Hansen 2008-01-19 11:17:12 +00:00
parent ef50e6875c
commit ca772be0d4
2 changed files with 11 additions and 4 deletions

View File

@ -291,7 +291,7 @@ namespace OpenSim.Framework.Data.MySQL
}
catch (Exception ex)
{
MainLog.Instance.Error("DATASTORE", "Exception trying to load prim objects: " + ex.ToString());
MainLog.Instance.Error("DATASTORE", "Exception trying to load prim objects for region " + regionUUID + ": " + ex.ToString());
}
return retvals;
}

View File

@ -519,6 +519,7 @@ namespace OpenSim.Region.Environment.Scenes
/// </summary>
public void StartTimer()
{
MainLog.Instance.Debug("SCENE", "Starting timer")
m_heartbeatTimer.Enabled = true;
m_heartbeatTimer.Interval = (int) (m_timespan*1000);
m_heartbeatTimer.Elapsed += new ElapsedEventHandler(Heartbeat);
@ -908,6 +909,7 @@ namespace OpenSim.Region.Environment.Scenes
{
m_LandManager.IncomingLandObjectsFromStorage(landData);
}
MainLog.Instance.Debug("SCENE", "Done loading land objects from storage");
}
#endregion
@ -1701,10 +1703,15 @@ namespace OpenSim.Region.Environment.Scenes
/// </summary>
public void performParcelPrimCountUpdate()
{
m_LandManager.resetAllLandPrimCounts();
m_eventManager.TriggerParcelPrimCountUpdate();
m_LandManager.finalizeLandPrimCountUpdate();
MainLog.Instance.Debug("SCENE", "Performing parcel prim count update: resetAllLandPrimCounts()");
m_LandManager.resetAllLandPrimCounts();
MainLog.Instance.Debug("SCENE", "Performing parcel prim count update: TriggerParcelPrimCountUpdate()");
m_eventManager.TriggerParcelPrimCountUpdate();
MainLog.Instance.Debug("SCENE", "Performing parcel prim count update: finalizeLandPrimCountUpdate()");
m_LandManager.finalizeLandPrimCountUpdate();
MainLog.Instance.Debug("SCENE", "Performing parcel prim count update: landPrimCountTainted = false");
m_LandManager.landPrimCountTainted = false;
MainLog.Instance.Debug("SCENE", "Performing parcel prim count update: Done");
}
/// <summary>