Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-320

Add minimum-level support

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 3.0.0.Alpha1
    • None
    • core
    • None

    Description

      In order to support native image generation with Quarkus, we need to be able to minimize the size of the image. In order to do this, introduce a "minimum level" property on logger nodes. This value is permanent after the creation of the node, and can be constant-folded by native image compilers, which allows the compiler to detect the fact that logging statements and blocks for levels below the minimum can be deleted from the image, which in turns reduces the reachability graph produced by these operations and thus further reduces image size.

      The default minimum level would be `ALL`, which matches the existing WildFly behavioral expectation.

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: