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:
parent
87a665fb7f
commit
494d70cbf0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user