Skip to content

[feat] #94 AOP 기반 API 요청 시작/종료 로깅 기능 추가#95

Merged
2hyunjinn merged 9 commits intomainfrom
release/v1
Apr 21, 2025
Merged

[feat] #94 AOP 기반 API 요청 시작/종료 로깅 기능 추가#95
2hyunjinn merged 9 commits intomainfrom
release/v1

Conversation

@2hyunjinn
Copy link
Member

📌 PR 제목

[feat] #94 AOP 기반 API 요청 시작/종료 로깅 기능 추가

📌 PR 내용

  • 컨트롤러 단의 모든 API 요청에 대해 시작/종료 시점 로그를 출력하는 기능을 추가했습니다.
  • API 흐름 추적 및 디버깅 편의성을 높이기 위한 목적입니다.

🛠 작업 내용

  • 기능 추가: LoggingAop 클래스 작성 및 AOP 기반 로깅 구현
  • 요청 시작 시 @before를 통해 HTTP 메서드 + URI + 메서드명 로그 출력
  • 요청 정상 종료 시 @AfterReturning을 통해 종료 로그 출력
  • RequestContextHolder를 이용한 현재 요청 정보 추출

🔍 관련 이슈

Closes #94

📸 스크린샷 (Optional)

image

📚 레퍼런스 (Optional)

N/A

@2hyunjinn 2hyunjinn added the feat Extra attention is needed label Apr 21, 2025
@2hyunjinn 2hyunjinn self-assigned this Apr 21, 2025
@github-actions
Copy link

Test Results

26 tests   26 ✅  1s ⏱️
 7 suites   0 💤
 7 files     0 ❌

Results for commit af91d5c.

@2hyunjinn 2hyunjinn merged commit e8e27b7 into main Apr 21, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] AOP 기반 전역 요청 로깅 기능 추가

1 participant