How can I add a contextListener in logback groovy configuration? -


I want to use LevelChangePropagator as a lockback reference, as described in Although my project is configured using log in groovy, and there is nothing in the official document about configListener in groovy configuring. The Logback Groove provides a tool in the configuration I tried to do it, but it just took away the context and took part.

I have found exactly my question in logback mailing lists, but the solution is not working for me.

Edit:
I created a document in the lockback GIRA about the missing document: Still, maybe someone knows the answer?

Add it to logback.groovy:

  Import ch. qos.logback.classic.jul.LevelChangePropagator def lcp = new LevelChangePropagator () lcp.context = reference lcp.resetJUL = true context.addListener (Elseepi)    

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -