[logback-user] Accessing an appender programatically not using a logger

Gonçalo Luiz goncalo.luiz at gmail.com
Wed Aug 24 16:18:27 UTC 2016


Hi,

I need to access an appender programatically. This appender is present in
the configuration XML but the only way to access it seems to be through
loggers that hold a reference to it.

I would like to directly access it (for example by its name) without having
to know which loggers it might be attached to.

Is there a way to do this ?

Gonçalo Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20160824/e3131cd2/attachment.html>


More information about the logback-user mailing list