update test case for log_print_by_time, using stub fun