using log4j2 api, removing adapters