Revert "Log4j 2 API"

This reverts commit 6bb395df05e68a4ee24338d02efbf1f6a51241a7.