[logback-user] How to get logger attached appenders

Ceki Gülcü ceki at qos.ch
Mon Sep 26 14:25:29 CEST 2011


Hi,
Look at the iteratorForAppenders method in the Logger class:
http://logback.qos.ch/apidocs/ch/qos/logback/classic/Logger.html
HTH,
-- 
http://twitter.com/ceki

On 26/09/2011 11:51 AM, BAKHTI Mohammed wrote:
> Hello,
>
> Is there a way to programmatically get the attached appenders to a given
> logger ?
> something like Logger.getAppenders() which returns appenders names or
> objects
>
> Thanks
>




More information about the Logback-user mailing list