Change some message log levels in Scene.IncomingUpdateChildAgent() for debugging purposes

0.7.6-extended
Justin Clark-Casey (justincc) 2013-09-20 20:19:44 +01:00
parent 2c856f2a60
commit 914a92335a
1 changed files with 3 additions and 3 deletions

View File

@ -4293,7 +4293,7 @@ namespace OpenSim.Region.Framework.Scenes
ILandObject nearestParcel = GetNearestAllowedParcel(cAgentData.AgentID, Constants.RegionSize / 2, Constants.RegionSize / 2); ILandObject nearestParcel = GetNearestAllowedParcel(cAgentData.AgentID, Constants.RegionSize / 2, Constants.RegionSize / 2);
if (nearestParcel == null) if (nearestParcel == null)
{ {
m_log.DebugFormat( m_log.InfoFormat(
"[SCENE]: Denying root agent entry to {0} in {1}: no allowed parcel", "[SCENE]: Denying root agent entry to {0} in {1}: no allowed parcel",
cAgentData.AgentID, RegionInfo.RegionName); cAgentData.AgentID, RegionInfo.RegionName);
@ -4327,11 +4327,11 @@ namespace OpenSim.Region.Framework.Scenes
Thread.Sleep(1000); Thread.Sleep(1000);
if (sp.IsChildAgent) if (sp.IsChildAgent)
m_log.DebugFormat( m_log.WarnFormat(
"[SCENE]: Found presence {0} {1} unexpectedly still child in {2}", "[SCENE]: Found presence {0} {1} unexpectedly still child in {2}",
sp.Name, sp.UUID, Name); sp.Name, sp.UUID, Name);
else else
m_log.DebugFormat( m_log.InfoFormat(
"[SCENE]: Found presence {0} {1} as root in {2} after {3} waits", "[SCENE]: Found presence {0} {1} as root in {2} after {3} waits",
sp.Name, sp.UUID, Name, 20 - ntimes); sp.Name, sp.UUID, Name, 20 - ntimes);