removes unused log reference.