reduce debug logs

httptests
UbitUmarov 2018-04-19 19:11:50 +01:00
parent 79ec9d2887
commit ad0b736405
1 changed files with 5 additions and 5 deletions

View File

@ -528,7 +528,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
WearableCacheItem[] wearableCache = sp.Appearance.WearableCacheItems; WearableCacheItem[] wearableCache = sp.Appearance.WearableCacheItems;
// big debug // big debug
//m_log.DebugFormat("[AVFACTORY]: ValidateBakedTextureCache start for {0} {1}", sp.Name, sp.UUID); // m_log.DebugFormat("[AVFACTORY]: ValidateBakedTextureCache start for {0} {1}", sp.Name, sp.UUID);
/* /*
for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++) for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++)
{ {
@ -601,7 +601,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
wearableCacheValid = (wearableCacheValid && (hits >= AvatarAppearance.BAKE_INDICES.Length - 1)); wearableCacheValid = (wearableCacheValid && (hits >= AvatarAppearance.BAKE_INDICES.Length - 1));
if (wearableCacheValid) if (wearableCacheValid)
{ {
//m_log.Debug("[ValidateBakedCache] have valid local cache"); // m_log.Debug("[ValidateBakedCache] have valid local cache");
} }
else else
wearableCache[19].TextureAsset = null; // clear optional skirt wearableCache[19].TextureAsset = null; // clear optional skirt
@ -629,7 +629,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
{ {
bool gotbacked = false; bool gotbacked = false;
m_log.Debug("[ValidateBakedCache] local cache invalid, checking bakedModule"); // m_log.Debug("[ValidateBakedCache] local cache invalid, checking bakedModule");
try try
{ {
bakedModuleCache = bakedModule.Get(sp.UUID); bakedModuleCache = bakedModule.Get(sp.UUID);
@ -642,7 +642,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
if (bakedModuleCache != null) if (bakedModuleCache != null)
{ {
//m_log.Debug("[ValidateBakedCache] got bakedModule " + bakedModuleCache.Length + " cached textures"); m_log.Debug("[ValidateBakedCache] got bakedModule " + bakedModuleCache.Length + " cached textures");
for (int i = 0; i < bakedModuleCache.Length; i++) for (int i = 0; i < bakedModuleCache.Length; i++)
{ {
@ -697,7 +697,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
} }
// debug // debug
//m_log.DebugFormat("[ValidateBakedCache]: Completed texture check for {0} {1} with {2} hits", sp.Name, sp.UUID, hits); // m_log.DebugFormat("[ValidateBakedCache]: Completed texture check for {0} {1} with {2} hits", sp.Name, sp.UUID, hits);
/* /*
for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++) for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++)
{ {