majikthys/log4j2-logstash-jsonevent-layout — pull request #9 by michaelsembwever (2014-06-22 13:30:15+00:00)
Title: Bugfix – handle missing location

The location, logEvent.getSource(), is not always available, eg in the case of async loggers.

Any attempt from LogStashJSONLayout to write location information in this situation results in a NPE.

This pull request is based ontop of #8
(it needs be merged afterwards, and only commit https://github.com/finn-no/log4j2-logstash-jsonevent-layout/commit/b9d4ba4b55adb332502c6d45e992db0fc7c7920dneeds be evaluated)