Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: 로그 파일 저장 설정용 logback-spring.yml 추가 #273

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

Jaewon-pro
Copy link
Member

@Jaewon-pro Jaewon-pro commented Oct 24, 2024

🔗 이슈 연결

🚀 구현한 API

  • x

💡 반영할 내용 및 변경 사항 요약

  • 로그 파일 저장하기 위해 logback-spring.yml 파일을 추가합니다.
    • 기존에는 로그를 출력하고 따로 저장하지 않습니다.
    • 이 PR 작업으로 로그를 logs 경로 아래에 월별, 일별로 분리하여 로그를 저장합니다.
  • 로그 파일 저장 경로인 logs는 gitignore 처리합니다.
  • json 형태로 로그를 저장하기 위해 logback-json-classic, logback-jackson 의존성을 추가합니다.

🔍 리뷰 요청/참고 사항

  • 이 작업 이후로 운영서버에 Loki, Promtail 설정해둘께요!

@Jaewon-pro Jaewon-pro self-assigned this Oct 24, 2024
Copy link
Collaborator

@hee9841 hee9841 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다 👍

@Jaewon-pro Jaewon-pro merged commit 38b2146 into main Oct 24, 2024
1 check passed
@Jaewon-pro Jaewon-pro deleted the feature/#272/logback branch October 24, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

로그 파일 저장 및 수집
2 participants