Java Mailing List Archive

http://www.java2.5341.com/

Home » Log4J Users List »

Re: Adding appenders programatically

Te Ta

2013-05-14


Author LoginPost Reply
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 <ttashiuwyo@(protected):

> 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!
>
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.