Hi, there is a little NPE when calling setContextMap on a fresch MDC. This could raises a NPE: public static void main(String[] args) { MDC.setContextMap(new HashMap<String, String>()); } Cheers, F.