You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Christopher Nagel <cn...@gmail.com> on 2012/05/10 00:02:18 UTC
Squelching NDC output?
Hi,
I have a pattern layout that includes "<%x>" because my app has 20 threaded
objects I want to keep track of. Unfortunately, log4cxx prints "<null>" for
all the times when there is no NDC.
Is there a pattern specifier that will make it just *be* null instead of
printing "null"? If not, could someone direct me to the part of the code I
can look for how to implement it?
Thanks,
Chris