factory impl for log4j2 and logback