fix log date time issue