aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-12-02 18:53:08 +0000
committerJustin Clark-Casey (justincc)2009-12-02 18:54:24 +0000
commitc58d30616be81df0714ce232de9dcdd955b61011 (patch)
treeee63a5ae23de323ac01cafbe0076eb56522513a1
parentAdd position and region of prim items with missing assets in log reports (diff)
downloadopensim-SC-c58d30616be81df0714ce232de9dcdd955b61011.zip
opensim-SC-c58d30616be81df0714ce232de9dcdd955b61011.tar.gz
opensim-SC-c58d30616be81df0714ce232de9dcdd955b61011.tar.bz2
opensim-SC-c58d30616be81df0714ce232de9dcdd955b61011.tar.xz
Log old position and region information when an orphaned child prim is found
-rw-r--r--OpenSim/Data/MySQL/MySQLLegacyRegionData.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs b/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs
index c49153f..aecfaa3 100644
--- a/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs
+++ b/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs
@@ -479,7 +479,9 @@ namespace OpenSim.Data.MySQL
479 } 479 }
480 else 480 else
481 { 481 {
482 m_log.Warn("[REGION DB]: Database contains an orphan child prim " + prim.UUID + " pointing to missing parent " + prim.ParentUUID); 482 m_log.WarnFormat(
483 "[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.",
484 prim.Name, prim.UUID, prim.AbsolutePosition, regionID, prim.ParentUUID);
483 } 485 }
484 } 486 }
485 } 487 }