logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Oxspring <roxspr...@imapmail.org>
Subject Get MDC keys from LoggingEvent
Date Fri, 10 Mar 2006 01:47:08 GMT

Is there a way to retrieve a collection of MDC keys from a LoggingEvent? 
   If not, then could one be added?

We currently log all details except MDC to file for later analysis and 
plan to start using MDC; though this isn't going to be of great use 
unless we can capture all the MDC content into our log.

Restricting ourselves to a known set of keys is fine as a stop gap but 
seems unnecessarily brittle as a long term solution.

Thanks in advance,


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

View raw message