Github user garydgregory commented on the issue:
https://github.com/apache/logging-log4j2/pull/198
I applied your patch to git master and release-2.x. Please verify and
close. The JIRA ticket is https://issues.apache.org/jira/browse/LOG4J2-2397---
