Skip to content

[BUG FIX/90] 로그 파일이 없을 경우 수동으로 생성하는 로직 추가#141

Merged
persi0815 merged 1 commit intodevelopfrom
bugfix/90
Jan 2, 2025
Merged

[BUG FIX/90] 로그 파일이 없을 경우 수동으로 생성하는 로직 추가#141
persi0815 merged 1 commit intodevelopfrom
bugfix/90

Conversation

@persi0815
Copy link
Contributor

@persi0815 persi0815 commented Jan 2, 2025

PR 타입

  • 버그 수정

구현한 기능

  • 로그 파일이 없을 경우 수동으로 생성하는 로직 추가 (ensureLogFileExists)
    image

  • 주요 작업 흐름에 대한 로그 메시지 추가로 디버깅 용이성 개선

  • 임시 파일 삭제 실패 시 경고 로그 추가

테스트 결과

삭제된 후, 수동이든 Logback 으로든 새로운 로그 파일이 생성되어야 함.
image
생성은 되는데, 로그가 해당 파일에 쌓이지 않습니다.
즉, 로그 파일이 생성만 되고, logback과 연결이 안되는 것 같아요. (연결이 안되면, 로그가 해당 파일에 기록되지 않기에)

total: 디렉토리에 있는 모든 파일의 크기 총합(단위: 블록)을 의미
예를 들어, total 56은 해당 디렉토리 안에 있는 파일들의 크기가 56 블록(512바이트 기준 약 28KB)이라는 뜻

@persi0815 persi0815 merged commit 9ec8a08 into develop Jan 2, 2025
@persi0815 persi0815 self-assigned this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant