Marked log4j dependency as optional