Fix logging section