Fix logging formats