Refine log display to make it more readable