Changing return value for  log time api call