Fix log formatting issue