[logback-user] logback and manual rollover (from java)
Lodewijk Gonggrijp
lgonggrijp at hotmail.com
Fri Jul 23 13:49:34 CEST 2010
It works, thanks a billion ! :)
I'm so happy I'm gonna dance a little jig now :)
> Date: Fri, 23 Jul 2010 10:36:42 +0200
> From: ceki at qos.ch
> To: logback-user at qos.ch
> Subject: Re: [logback-user] logback and manual rollover (from java)
>
>
> When you are sure that the underlying framework is logback, you can cast
> an org.slf4j.Logger instance into ch.qos.logback.classic.Logger. The
> latter has a method to retrieve an appender by name [1].
>
> I hope this helps,
>
> [1]
> http://logback.qos.ch/apidocs/ch/qos/logback/classic/Logger.html#getAppender%28java.lang.String%29
_________________________________________________________________
Een netbook met Windows 7? Hier vind je alles dat je moet weten.
http://www.windows.nl/netbook
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20100723/e8edb18a/attachment.html>
More information about the Logback-user
mailing list