Fix formatting in logger