Skip to content

Conversation

@kdomo
Copy link
Member

@kdomo kdomo commented Dec 29, 2022

관련 이슈 번호

설명

  • profile에 따른 logging 환경분리하였습니다.
  • local 환경일 시 SYSTEM_OUT으로 콘솔에만 출력 되도록 설정하였습니다.
  • dev 환경일 시 recordIt.log에 INFO 레벨 이상 로깅처리되고,
    ERROR 레벨 이상은 따로 필터걸어 recordIt_ERROR.log에 ERROR 레벨만 따로 로깅 처리 되도록 설정하였습니다.

변경사항

  • build.gradle에서 logback 의존성 제거, log4j2 의존성 추가
  • .gitignore에 logs 경로 추가
  • log4j2-dev.xml, log4j2-local.xml 파일 생성 후 profile 지정

질문사항

pattern은 기본 형식대로 지정하였습니다. 다른 좋은 의견있다면 코멘트 남겨주세용

@kdomo kdomo added ✨ Feature 기능 개발 🛠 Settings 개발 환경 설정 ⬆️Top Issues labels Dec 29, 2022
@kdomo kdomo self-assigned this Dec 29, 2022
@Jaeyeop-Jung Jaeyeop-Jung merged commit 773685d into develop Dec 29, 2022
@Jaeyeop-Jung Jaeyeop-Jung deleted the feature/BE-22 branch December 29, 2022 14:24
@kdomo kdomo restored the feature/BE-22 branch January 1, 2023 14:59
@kdomo kdomo deleted the feature/BE-22 branch January 1, 2023 15:01
@kdomo kdomo mentioned this pull request Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 기능 개발 🛠 Settings 개발 환경 설정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants