Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3814

Groovy fragment bundle for Common Log to support scriptable event evaluation

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Extensions
    • None

    Description

      Logback provides support for scriptable event evaluation [1] where a script can be used to determine if the given logging event must be logged or not. This proves useful to get precise logs in a concurrent env. For this Logback support

      • Janino - Allow writing Java Code and is faster compared to Groovy. Due to LOGBACK-1001 it cannot be used currently
      • Groovy

      Commons Log bundle can have optional dependency on Groovy classes but that would cause issues as Commons Log starts at level 1 and further for stability of Logging system it would be preferable if it gets its own copy of Groovy (via a fragement).

      This feature is mostly to be used for debugging issues

      [1] http://logback.qos.ch/manual/filters.html

      Attachments

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: