Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1001

JaninoEventEvaluatorBase should enable configuring of classloader in ScriptEvaluator

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 1.1.2
    • logback-core

    Description

      JaninoEventEvaluatorBase currently does not specify the classloader while creating the ScriptEvaluator instance. Due to this it uses the Thread's Context Classloader (TCCL). This causes problem in using Janino based event evaluator in OSGi env as there TCCL may not have the visibility to Logback classes.

      At min we should expose option to specify the JaninoEventEvaluatorBase classloader as the classloader to use.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            chetanm Chetan Mehrotra
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: