Update: Logging implementation completed and deployed - 7.6KB log file persisting after restart
This commit is contained in:
parent
1fa7b2186b
commit
d2ff32eaff
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
**작성일**: 2025-09-08
|
**작성일**: 2025-09-08
|
||||||
**작성자**: happybell80
|
**작성자**: happybell80
|
||||||
**상태**: 계획만 존재, 구현 필요
|
**상태**: 구현 및 배포 완료 (12:27)
|
||||||
|
|
||||||
## 왜 이 문제를 풀어야 하는가
|
## 왜 이 문제를 풀어야 하는가
|
||||||
|
|
||||||
@ -78,9 +78,9 @@ def setup_logging():
|
|||||||
level=logging.INFO)
|
level=logging.INFO)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 구현 순서
|
## 구현 결과
|
||||||
|
|
||||||
1. app/core/logger.py 생성
|
1. app/core/logger.py 생성 완료
|
||||||
2. main.py에서 setup_logging() 호출
|
2. 로그 파일 7.6KB 생성 확인 (재시작 후 유지)
|
||||||
3. rb8001/logs 디렉토리 생성 및 .gitignore 추가
|
3. JSON 포맷 정상 작동
|
||||||
4. 로컬 테스트 후 서버 배포
|
4. 볼륨 마운트 정상 (./logs:/code/logs)
|
||||||
Loading…
x
Reference in New Issue
Block a user