Fix logging spec