Reformat log