demote dead entry messages to debug level

This commit is contained in:
dfsek 2021-11-23 20:57:52 -07:00
parent 8b4e51b876
commit d17dcc17b0

View File

@ -385,7 +385,7 @@ public class ConfigPackImpl implements ConfigPack {
private void checkDeadEntries() { private void checkDeadEntries() {
registryMap.forEach((clazz, pair) -> ((OpenRegistryImpl<?>) pair.getLeft()) registryMap.forEach((clazz, pair) -> ((OpenRegistryImpl<?>) pair.getLeft())
.getDeadEntries() .getDeadEntries()
.forEach((id, value) -> logger.warn("Dead entry in '{}' registry: '{}'", ReflectionUtil.typeToString(clazz), id))); .forEach((id, value) -> logger.debug("Dead entry in '{}' registry: '{}'", ReflectionUtil.typeToString(clazz), id)));
} }
@SuppressWarnings({ "unchecked", "rawtypes" }) @SuppressWarnings({ "unchecked", "rawtypes" })