@SuppressWarnings({ "rawtypes", "unchecked" })
    @Deprecated
    public static Hashtable getContext() {
        Map map = org.slf4j.MDC.getCopyOfContextMap();

        if (map != null) {
            return new Hashtable(map);
        } else {
            return new Hashtable();
        }
    }
This method is not part of the Log4J public API. However it 
has been called by other projects. This method is here temporarily  
until projects who are depending on this method release fixes. 

@return a copy of the underlying map returned as a Hashtable
log4j-over-slf4j/src/main/java/org/apache/log4j/MDC.java