Change the precision of datetime for LOG.