Replaces log4j with logging. Users might use an impl of slf4j other than log4j.