Also remove direct dependencies to log4j-api and log4j-core where possible. log4j-slf4j-impl is enough in many cases.