Skip to content

[chore] PB-116 로깅 표준 적용 #226

Closed

Description

@geonusp

작업 유형

  • 의존성(Library) 추가/업데이트
  • 빌드/CI 설정 (Gradle, Docker, GitHub Actions)
  • 환경 설정 (.env, gitignore, lint)
  • 기타 (단순 오타 수정, 파일 정리)

작업 이유

외부 로깅 저장소 도입 전 애플리케이션에서 수집하는 로그 가독성 향상 및 json 직렬화

작업 내용

  • 1. Logback JSON 설정 (dev 평문 / prod NDJSON)
  • 2. HTTP 요청 requestId MDC (MdcRequestFilter 신규)
  • 3. JWT 인증 userId MDC (JwtAuthenticationFilter try-finally)
  • 4. dev/prod 로그 레벨 정리 (application.yml → logback-spring.xml 이관)
  • 5. PII 노출 점검 (User/EmailVerificationToken/JWT DTO toString 검토)
  • 6. 테스트 작성 (MDC 누수 방지, X-Request-Id 전파)

범위 외 (Out of Scope)

  • @async / Scheduler / Outbox MDC 전파 → ADR-011(트레이싱) 도입 시 일괄 처리
  • 외부 호출(X-Request-Id 헤더 전파) → ADR-011
  • Actuator loggers 엔드포인트 노출 → 별도 PR

Activity

  1. github-actions commented on May 17, 2026

    @github-actions

    ✅ 지라 티켓이 생성되었습니다: PB-116

  2. changed the title [-][chore][/-] [+][chore] PB-116 ㅅ[/+] on May 17, 2026
  3. self-assigned this
    on May 17, 2026
  4. added
    enhancement
    and removed
    enhancement
    on May 17, 2026
  5. changed the title [-][chore] PB-116 ㅅ[/-] [+][chore] PB-116 로깅 설정 표준화[/+] on May 17, 2026
  6. changed the title [-][chore] PB-116 로깅 설정 표준화[/-] [+][chore] PB-116 로깅 표준 적용[/+] on May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions