Carpet rule suggestion: Option to disable logging of named entity deaths
James103 opened this issue ยท 3 comments
Currently, there appears to be no way to turn off the Named entity ... died
messages that are logged whenever an entity with a custom name dies. This means that for people that have Scarpet scripts (or even just a datapack like this) that renames every entity that spawns or is loaded, that means that every entity that dies is reported in the Minecraft Log.
Suppose you have a very fast perimeter-based slime farm and it outputs 500,000 slime balls per hour. Just in the smallest size alone, that would be 500,000 slimes killed per hour (assuming no looting). If all 500,000 slimes are renamed (as to be expected from using such a script), that's 500,000 named entity deaths that are recorded into the Minecraft Log. At 180 bytes per log entry, that comes out to 90 MB/hour of disk space taken up by the Minecraft Log, in a game that should generate maybe only a few KB/hour of log entries (excluding chat) on a vanilla normal playthrough.
what about adding that to 'cleanLogs' setting?
That would work as well, removing the need for an entirely new carpet rule.