Hi, I noticed that the BasicMDCAdapter uses a regular InheritableThreadLocal while the LogbackMDCAdapter uses a custom "CopyOnInheritThreadLocal". The JavaDoc implies that they should be similar. Any reasons why the difference in implementation was chosen (perhaps performance, memory)?
Also BasicMDCAdapter seems to require Java 5 although it's part of the SLF4J API library. It calls ThreadLocal#remove() directly (without reflection) which does not exists in JDK <= 1.4. -Gunnar -- Gunnar Wagenknecht [email protected] http://wagenknecht.org/ _______________________________________________ slf4j-dev mailing list [email protected] http://qos.ch/mailman/listinfo/slf4j-dev
