Log old position and region information when an orphaned child prim is found

mysql-performance
Justin Clark-Casey (justincc) 2009-12-02 18:53:08 +00:00
parent f7b2f0e61e
commit c58d30616b
1 changed files with 3 additions and 1 deletions

View File

@ -479,7 +479,9 @@ namespace OpenSim.Data.MySQL
}
else
{
m_log.Warn("[REGION DB]: Database contains an orphan child prim " + prim.UUID + " pointing to missing parent " + prim.ParentUUID);
m_log.WarnFormat(
"[REGION DB]: Database contains an orphan child prim {0} {1} at {2} in region {3} pointing to missing parent {4}. This prim will not be loaded.",
prim.Name, prim.UUID, prim.AbsolutePosition, regionID, prim.ParentUUID);
}
}
}