change API logger to log4j2