[logback-user] Add a ContextListener in Groovy Config
Pepper Lebeck-Jobe
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:
http://logback.qos.ch/manual/configuration.html#contextListener
It talks about adding a context listener specifically to deal with
LevelChangePropogator.
I'd like to do this, but I generally prefer the groovy syntax to the xml
syntax.
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
Thanks,
Pepper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120221/7b98c209/attachment.html>
More information about the Logback-user
mailing list