[logback-user] Add a ContextListener in Groovy Config
eljobe at gmail.com
Wed Feb 22 03:03:48 CET 2012
Sorry if this has been asked before. I'm new to the user list, and I find
it difficult to search the archives.
How can I add a contextListener in a logback.groovy config file?
On this page:
It talks about adding a context listener specifically to deal with
I'd like to do this, but I generally prefer the groovy syntax to the xml
This page: http://logback.qos.ch/manual/groovy.html
Talks a lot about the groovy syntax, but it doesn't specifically mention
how to set up a contextListener.
How can I do it?
I have tried some things I thought would work, but they didn't.
Groovy Version: 2.0.0
Logback Classic: 1.0.0
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Logback-user