Update log4j and slf4j dependencies.