Clean up log formatting a bit.