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 Ricardo Trindade <ri...@emation.pt> on 2007/02/02 17:34:12 UTC
programatically read log contents
Hi,
Is there a way to find out the active appenders ? My objective is to
programatically read the log file.
thanks,
Ricardo
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: programatically read log contents
Posted by James Stauffer <st...@gmail.com>.
Yes, I believe you can retrieve the appenders from the logger object.
Check the API.
On 2/2/07, Ricardo Trindade <ri...@emation.pt> wrote:
> Hi,
>
> Is there a way to find out the active appenders ? My objective is to
> programatically read the log file.
>
> thanks,
> Ricardo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>
--
James Stauffer http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org