Fix logging spec.