Understanding MDC

2004-01-27 Thread jay andrews
Hello, I am just beginning to use log4j and I am trying to get my head around using the MDC class. From reading through the archives it appears that I need to use this class for my logging within my servlet. That being said, I'm having a little understanding exactly how its used. Is it as sim

RE: Understanding MDC

2004-01-27 Thread Shapira, Yoav
Howdy, >im just getting started with using log4j and I am trying to use it within >my >servlet. From reading the archives it appears i need to be using the MDC >class, but i am a little confused as to how it works and how it is used in First of all, the MDC is entirely optional. Many people ne

Understanding MDC

2004-01-27 Thread jay andrews
hello, im just getting started with using log4j and I am trying to use it within my servlet. From reading the archives it appears i need to be using the MDC class, but i am a little confused as to how it works and how it is used in code. is it as easy to implement like in the following psuedo