removed CreateMode to remove slf4j2 dependency