Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-85592

Default log4j2.xml is suboptimal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 15w34a
    • Minecraft 15w32c, Minecraft 1.8.9
    • None
    • Plausible

      The default log4j2.xml has a line like:

      <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">
      

      application startup speed will improve by seconds.

            dinnerbone [Mojang] Nathan Adams
            md_5 [Mod] md_5
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: