1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Reduce excessive logging

This commit is contained in:
Ivan Savenko 2024-11-14 15:41:31 +00:00
parent 87a665fb7f
commit 494d70cbf0
2 changed files with 3 additions and 3 deletions

View File

@ -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());
}
}

View File

@ -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