In the forhcoming Log4J 1.3 there is a method to get the key set of the MDC. That may be changing to merely getting the key set for the 'properties' of the logging event. The 'properties' are an inherited set of global information from the LoggerRepository, the current MDC, and the current LoggingEvent.
Thanks. Naresh Sikha -----Original Message----- From: James Stauffer [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 8:24 AM To: '[EMAIL PROTECTED]' Subject: MDC: Betting all values In an Appender in the append(LoggingEvent event) method how do I get all of the MDC values? LoggingEvent has a getMDCCopy but it returns void (a "get" method that returns void?). MDC.getContext is marked for internal usage. James Stauffer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
