deal with the x_log data