mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
Reduce excessive logging
This commit is contained in:
@@ -523,7 +523,7 @@ void CObjectClassesHandler::afterLoadFinalization()
|
||||
|
||||
obj->afterLoadFinalization();
|
||||
if(obj->getTemplates().empty())
|
||||
logGlobal->warn("No templates found for %s:%s", entry->getJsonKey(), obj->getJsonKey());
|
||||
logMod->debug("No templates found for %s:%s", entry->getJsonKey(), obj->getJsonKey());
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -43,7 +43,7 @@ void ObstacleSet::removeEmptyTemplates()
|
||||
{
|
||||
if (tmpl->getBlockedOffsets().empty())
|
||||
{
|
||||
logMod->warn("Obstacle template %s blocks no tiles, removing it", tmpl->stringID);
|
||||
logMod->debug("Obstacle template %s blocks no tiles, removing it", tmpl->stringID);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -457,7 +457,7 @@ void ObstacleSetHandler::addTemplate(const std::string & scope, const std::strin
|
||||
|
||||
if (VLC->identifiersHandler->getIdentifier(scope, "obstacleTemplate", strippedName, true))
|
||||
{
|
||||
logMod->warn("Duplicate obstacle template: %s", strippedName);
|
||||
logMod->debug("Duplicate obstacle template: %s", strippedName);
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user