Sort logfile issue on linux when we disable and reenable