You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Te Ta <tt...@gmail.com> on 2013/05/15 03:59:22 UTC

Re: Adding appenders programatically

What is the recommended way of adding appenders in log4j 2.

In older version we were able to do
Logger.getLogger(theCategory).addAppender(appender).

Thanks!


On Tue, May 14, 2013 at 7:51 PM, Te Ta <tt...@gmail.com> wrote:

> What is the recommended way of adding appenders in log4j 2.
>
> In older version we were able to do
> Logger.getLogger(theCategory).addAppender(appender).
>
> Thanks!
>