Fix logging format