The default log4j2.xml has a line like:
<Configuration status="WARN" packages="net.minecraft,com.mojang"><Configuration status="WARN" packages="net.minecraft,com.mojang">This is suboptimal as log4j will scan the entire list of these classes for handlers. Since the only handlers are in com.mojang.util, by changing the configuration to
<Configuration status="WARN" packages="com.mojang.util"><Configuration status="WARN" packages="com.mojang.util">application startup speed will improve by seconds.
Comments 3
From IRC,
<Meeeh> I think that they might have logger in net.minecraft, but it is removed when obfuscating, like it may be some debug-only logger
So maybe this is an invalid/wontfix.
Doing that will cause a Minecraft crash.