mp911de/logstash-gelf — pull request #6 by Kazaag (2013-12-12 10:44:05+00:00)
Title: Workaround for the log4j MDC bug in Jboss AS 7.1.1

Workaround for the log4j MDC not backed by JBoss Logging MDC in JBoss AS 7.1.1 (not any more present in upstream version but JBoss AS 7.1.1 is last community release of JBoss AS 7).

The workaround simply first checks the log4j MDC and if no value is present, checks slf4j (which is correctly backed by JBoss Logging MDC) for the MDC value.

This should allow usage of the log4j, slf4j and JBoss Logging MDC with the Gelf handler.