Log cleanup / reformatting