Refactor: 진행 상황을 위한 로깅

This commit is contained in:
김용수 2024-09-30 13:39:40 +09:00
parent d9d183b34c
commit 09cc8da47b
2 changed files with 3 additions and 0 deletions

View File

@ -3,8 +3,10 @@ package com.worlabel.domain.model.entity.dto;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;
@Getter
@ToString
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class TrainResponse {

View File

@ -103,6 +103,7 @@ public class AiModelService {
log.debug("요청 DTO :{}", aiRequest);
String endPoint = project.getProjectType().getValue() + "/train";
TrainResponse trainResponse = aiRequestService.postRequest(endPoint, aiRequest, TrainResponse.class, this::converterTrain);
log.debug("결과 {}",trainResponse);
// 가져온 modelKey -> version 업된 모델 다시 새롭게 저장
String currentDateTime = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMdd_HHmm"));