Fixed log4j2 config causing high CPU usage. Fixes #1074