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

Default log4j2.xml is suboptimal

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              CHK: