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 "Duseja, Sushil" <Su...@fiserv.co.in> on 2008/07/15 15:44:11 UTC

Logging - NDC, MDC, PROPERTIES, EXCEPTION

Hello,

 

Can anyone please let me know as to how can I retrieve - NDC, MDC,
PROPERTIES, EXCEPTION - values from the LoggingEvent object? Do I need
to set any additional parameter (apart from locationInfo) in the
log4j.xml for this?

 

Any help is appreciated.

 

Thanks.