chore: Exchange debug log levels & component-ify a few messages (#1342)

This commit is contained in:
NotMyFault
2021-10-17 14:50:42 +02:00
committed by GitHub
parent 3a952e1938
commit 27865dc785
28 changed files with 49 additions and 52 deletions

View File

@ -57,7 +57,7 @@ public class RollbackOptimizedHistory extends DiskStorageHistory {
this.blockSize = (int) size;
this.command = command;
this.closed = true;
LOGGER.debug("Size: {}", size);
LOGGER.info("Size: {}", size);
}
public long getTime() {

View File

@ -61,7 +61,7 @@ public class MutableEntityChange implements Change {
most = ((LongTag) map.get("PersistentIDMSB")).getValue();
least = ((LongTag) map.get("PersistentIDLSB")).getValue();
} else {
LOGGER.debug("Skipping entity without uuid.");
LOGGER.info("Skipping entity without uuid.");
return;
}
List<DoubleTag> pos = (List<DoubleTag>) map.get("Pos").getValue();
@ -76,7 +76,7 @@ public class MutableEntityChange implements Change {
Map<String, Tag> map = tag.getValue();
Tag posTag = map.get("Pos");
if (posTag == null) {
LOGGER.debug("Missing pos tag: " + tag);
LOGGER.warn("Missing pos tag: {}", tag);
return;
}
List<DoubleTag> pos = (List<DoubleTag>) posTag.getValue();

View File

@ -287,7 +287,7 @@ public abstract class AbstractChangeSet implements ChangeSet, IBatchProcessor {
} else if (change.getClass() == EntityRemove.class) {
add((EntityRemove) change);
} else {
LOGGER.debug("Unknown change: " + change.getClass());
LOGGER.error("Unknown change: {}", change.getClass());
}
}