* Clean up LIBRARY INVENTORY messages

ThreadPoolClientBranch
Justin Clarke Casey 2008-02-13 02:43:41 +00:00
parent 45638cc141
commit a1a206cb05
2 changed files with 16 additions and 17 deletions

View File

@ -141,7 +141,8 @@ namespace OpenSim.Framework.Communications.Cache
protected void LoadLibraries(string librariesControlPath)
{
m_log.Info(
String.Format("LIBRARYINVENTORY", "Loading libraries control file {0}", librariesControlPath));
String.Format(
"[LIBRARY INVENTORY]: Loading libraries control file {0}", librariesControlPath));
LoadFromFile(librariesControlPath, "Libraries control", ReadLibraryFromConfig);
}
@ -193,10 +194,9 @@ namespace OpenSim.Framework.Communications.Cache
}
else
{
m_log.Warn(
String.Format("[LIBRARYINVENTORY]: " +
"Couldn't add folder {0} ({1}) since parent folder with ID {2} does not exist!",
folderInfo.name, folderInfo.folderID, folderInfo.parentID));
m_log.WarnFormat(
"[LIBRARY INVENTORY]: Couldn't add folder {0} ({1}) since parent folder with ID {2} does not exist!",
folderInfo.name, folderInfo.folderID, folderInfo.parentID);
}
}
@ -229,10 +229,9 @@ namespace OpenSim.Framework.Communications.Cache
}
else
{
m_log.Warn(
String.Format("[LIBRARYINVENTORY]: " +
"Couldn't add item {0} ({1}) since parent folder with ID {2} does not exist!",
item.inventoryName, item.inventoryID, item.parentFolderID));
m_log.WarnFormat(
"[LIBRARY INVENTORY]: Couldn't add item {0} ({1}) since parent folder with ID {2} does not exist!",
item.inventoryName, item.inventoryID, item.parentFolderID);
}
}