Gunicorn Transition: add wsgi entrypoint and gunicorn config, bump version to 4.1.41
This commit is contained in:
34
로그 보는법.md
Normal file
34
로그 보는법.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# FlaskFarm Gunicorn 환경 로그 확인 가이드
|
||||
|
||||
Gunicorn 및 Celery 환경에서 발생하는 로그를 확인하는 방법입니다.
|
||||
|
||||
## 1. 실시간 로그 모니터링 (추천)
|
||||
터미널에서 아래 명령어를 실행하여 실시간으로 로그가 쌓이는 것을 볼 수 있습니다.
|
||||
|
||||
### 웹 서버 (Gunicorn) 로그
|
||||
웹 접속 오류나 서버 상태를 확인할 때 사용합니다.
|
||||
```bash
|
||||
tail -f data/log/gunicorn_error.log
|
||||
```
|
||||
|
||||
### 백그라운드 작업 (Celery) 로그
|
||||
다운로드 및 데이터 처리 등 비동기 작업 상태를 확인할 때 사용합니다.
|
||||
```bash
|
||||
tail -f data/log/celery_worker.log
|
||||
```
|
||||
|
||||
### 애플리케이션 통합 로그 (FlaskFarm)
|
||||
플러그인 로직 및 시스템 전반의 상세 로그를 확인할 때 사용합니다.
|
||||
```bash
|
||||
tail -f data/log/framework.log
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 2. 주요 로그 파일 경로
|
||||
모든 로그는 `data/log/` 폴더에 집중되어 있습니다.
|
||||
|
||||
- `data/log/gunicorn_access.log`: HTTP 요청 기록 (방문자 기록)
|
||||
- `data/log/gunicorn_error.log`: Gunicorn 서버 구동 및 에러 기록
|
||||
- `data/log/celery_worker.log`: Celery 워커의 기동 및 작업 로그
|
||||
- `data/log/framework.log`: 애플리케이션 비즈니스 로직 로그
|
||||
Reference in New Issue
Block a user