You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Fameliaris, Athanasios" <tf...@decision.quest.gr> on 2001/01/25 14:36:13 UTC

TextPaneAppender

Does anybody know if i can configure from the external configuration file
the TextPane to which I redirect the log.
I have a application that alredy logs to a file appender but i want to also
redirect the logs to a Text Pane without changing the code to all logging
points, but changing only the configuration file. To do that as i can
understand i have to create a MyTestPane class and pass it through the
configuration file to the log4j system
Any Idea or any related code ??




Athanassios K. Fameliaris
Senior S/W Engineer

*	DECISION SYSTEMS INTEGRATION S.A.,
	Pantou  27,
	Athens, 176-71,
	Greece.
*	Office:	+30 (0)1   9299562
	Fax:	+30 (0)1   9299550
*	EMail:	tfamel@decision.quest.gr



Re: TextPaneAppender

Posted by Anders Kristensen <ak...@dynamicsoft.com>.
Hi,

You might want to have a look at org.apache.log4j.gui.TextPaneAppender.

Anders

"Fameliaris, Athanasios" wrote:
> 
> Does anybody know if i can configure from the external configuration
> file the TextPane to which I redirect the log.
> I have a application that alredy logs to a file appender but i want to
> also redirect the logs to a Text Pane without changing the code to all
> logging points, but changing only the configuration file. To do that
> as i can understand i have to create a MyTestPane class and pass it
> through the configuration file to the log4j system
> 
> Any Idea or any related code ??
> 
> Athanassios K. Fameliaris
> Senior S/W Engineer
> 
> ?       DECISION SYSTEMS INTEGRATION S.A.,
>         Pantou  27,
>         Athens, 176-71,
>         Greece.
> (       Office: +30 (0)1   9299562
>         Fax:    +30 (0)1   9299550
> /       EMail:  tfamel@decision.quest.gr