Log 4j 2 test code