Improved output log for segmentation