log file reorganisation