[배치] log -> safeLogger 로 수정
This commit is contained in:
@@ -11,7 +11,6 @@ import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class BatchLogRunner {
|
||||
SafeLogger safeLogger = new SafeLogger(LoggerFactory.getLogger(BatchLogRunner.class));
|
||||
|
||||
@@ -29,7 +28,7 @@ public class BatchLogRunner {
|
||||
hostName = java.net.InetAddress.getLocalHost().getHostName();
|
||||
} catch (UnknownHostException e) {
|
||||
hostName = "UNKNOWN";
|
||||
log.warn("호스트 이름 조회 실패", e);
|
||||
safeLogger.warn("호스트 이름 조회 실패", e);
|
||||
}
|
||||
|
||||
// 실행 로그 insert (RUNNING)
|
||||
|
||||
Reference in New Issue
Block a user