Move dependency on logging to a dev-dep