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 Naider Chen <na...@yahoo.com> on 2007/06/23 17:09:13 UTC
help to extend PatternLayout
Hi:
I'm trying extend PatternLayout in order to intercept
log message.
The foremat method basically return all the log
message included in the ConversionPattern. I'd like
to get the %m and do some pre-process and return it.
I'm not sure this is the way to get %m can anybody
help me with this.
Thanks.
Naider
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: help to extend PatternLayout
Posted by James Stauffer <st...@gmail.com>.
What are you trying to accomplish?
On 6/23/07, Naider Chen <na...@yahoo.com> wrote:
> Hi:
>
> I'm trying extend PatternLayout in order to intercept
> log message.
>
> The foremat method basically return all the log
> message included in the ConversionPattern. I'd like
> to get the %m and do some pre-process and return it.
> I'm not sure this is the way to get %m can anybody
> help me with this.
>
> Thanks.
>
> Naider
>
>
>
> ____________________________________________________________________________________
> Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
> http://smallbusiness.yahoo.com/webhosting
>
> ---------------------------------------------------------------------
> 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