Revert "Revert "Log4j 2 API""

This reverts commit e93ae6081968f2c1c558c12c1b4fe327ba96804c.