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 Steffen Koehler <sk...@buschjena.de> on 2003/01/14 17:26:11 UTC

use my own appender

At version 1.1.3 I have written my own appender, a class that extends the 
AppenderSkeleton.
Than I have activated the appender with PropertyConfigurator.configure(<an 
object of my own appender>).

In the new version this method-signature doesn't exists. What can I do, to 
use my appender?
I have nothing found in the short documentation.

Thanks
Steffen 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: use my own appender

Posted by Steffen Koehler <sk...@buschjena.de>.
Thanks,
it works fine.

Steffen
>I think what you're looking for is
>LogManager.getRootLogger.addAppender(<your appender here>)
>
>On Tue, 2003-01-14 at 14:26, Steffen Koehler wrote:
> > At version 1.1.3 I have written my own appender, a class that extends the
> > AppenderSkeleton.
> > Than I have activated the appender with PropertyConfigurator.configure(<an
> > object of my own appender>).
> >
> > In the new version this method-signature doesn't exists. What can I do, to
> > use my appender?
> > I have nothing found in the short documentation.
> >
> > Thanks
> > Steffen
>
>--
>Daniel Serodio <da...@checkforte.com.br>
>CheckForte
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: use my own appender

Posted by Daniel Serodio <da...@checkforte.com.br>.
I think what you're looking for is
LogManager.getRootLogger.addAppender(<your appender here>)

On Tue, 2003-01-14 at 14:26, Steffen Koehler wrote:
> At version 1.1.3 I have written my own appender, a class that extends the 
> AppenderSkeleton.
> Than I have activated the appender with PropertyConfigurator.configure(<an 
> object of my own appender>).
> 
> In the new version this method-signature doesn't exists. What can I do, to 
> use my appender?
> I have nothing found in the short documentation.
> 
> Thanks
> Steffen 

-- 
Daniel Serodio <da...@checkforte.com.br>
CheckForte


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>