Chetan Mehrotra created SLING-3814:
--------------------------------------

             Summary: Groovy fragment bundle for Common Log to support 
scriptable event evaluation
                 Key: SLING-3814
                 URL: https://issues.apache.org/jira/browse/SLING-3814
             Project: Sling
          Issue Type: New Feature
          Components: Extensions
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra


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|http://jira.qos.ch/browse/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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to