fix the time in ch_log.c