Fix logging changes