logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ana Paula Brandão Lopes <apblopes2...@yahoo.com.br>
Subject Re: Regarding Use of MDC/NDC
Date Wed, 02 Mar 2005 13:00:42 GMT
Read this:
http://www.onjava.com/pub/a/onjava/2002/08/07/log4j.html?page=1
Go to page 3 and enjoy.
Ana
On Wed, 2 Mar 2005 10:48:22 +0800, Ravishankar, Narayanan Nair  
<ravishankar@crimsonlogic.com> wrote:

>
> Hi all,
>
> A newbie here, trying to make use of MDC/NDC. I have a simple servlet to
> experiment
>
> public class myservlet .....
> {
>    PrintWriter pwr = res.getWriter();
> //logging statement
>    Pwr.println("Hello World");
>
> }
>
> What should I do in order to keep track of different requests ? What I
> need to add in the above code ? Not sure of how to proceed, can anyone
> please help/advise, thanks a lot for your time and patience.
>
> Best regards,
> Ravi
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message