ceki 2004/12/15 12:46:50 Modified: src/java/org/apache/log4j MDC.java docs HISTORY.txt Log: The MDC contains information which local to the original thread generating the logging event. A logging event received over the wire should not influence the MDC of the receiving thread. Revision Changes Path 1.20 +0 -11 logging-log4j/src/java/org/apache/log4j/MDC.java Index: MDC.java =================================================================== RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/MDC.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- MDC.java 13 Dec 2004 15:28:48 -0000 1.19 +++ MDC.java 15 Dec 2004 20:46:50 -0000 1.20 @@ -124,17 +124,6 @@ public static Hashtable getContext() { return (Hashtable) tlm.get(); } - - /** - * Sets the current thread's MDC as a hashtable. This - * method <strong>OVERWRITES</strong> the existing MDC - * values, if any are present. - * - * @param ht The table - */ - public static void setContext(Hashtable ht) { - tlm.set(ht); - } /** * Returns the keys in the MDC as an [EMAIL PROTECTED] Enumeration}. The returned value can be 1.21 +0 -2 logging-log4j/docs/HISTORY.txt Index: HISTORY.txt =================================================================== RCS file: /home/cvs/logging-log4j/docs/HISTORY.txt,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- HISTORY.txt 15 Dec 2004 20:01:06 -0000 1.20 +++ HISTORY.txt 15 Dec 2004 20:46:50 -0000 1.21 @@ -14,8 +14,6 @@ - Fixed Bugzilla 15198: TelnetAppender: NullPointerException if SocketHandler not initialized. [*] - - Implemented Bugzilla 14934: MDC#setContext method added. [*] - - Implemented Bugzilla 16883: Default ConsoleAppender constructor enhanced with output sink and layout. [*]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]