HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🏠
2차 팀 프로젝트: 오늘의 집
/
🦴
EC2 환경이 아닌 로컬에서 S3 실행시 에러
🦴

EC2 환경이 아닌 로컬에서 S3 실행시 에러

분류
AWS
File IO
작성자
  • 관련해서 잘 정리한 글
    • https://lemontia.tistory.com/1006
  • 애플리케이션은 정상적으로 작동하지만 , 로그가 뜨는 것이 불편하고, 로그 찍느라 로딩 시간이 오래 걸림
    • 내 해결 방법: 해당 로그도 안 뜨고, 기존 에러 로그가 안 보이게 하지도 않음
      • @SpringBootApplication( exclude = { org.springframework.cloud.aws.autoconfigure.context.ContextInstanceDataAutoConfiguration.class, org.springframework.cloud.aws.autoconfigure.context.ContextStackAutoConfiguration.class, org.springframework.cloud.aws.autoconfigure.context.ContextRegionProviderAutoConfiguration.class } )
    • 그 외의 방법
      • 로그 레벨을 error까지 격상시켜 버리기(개인적으로는 비추천)
      • 환경변수 설정: https://lemontia.tistory.com/1006 참고
        • 개인적으로는 불편한 로그가 뜬다는 점이 여전히 불편해서 사용하지 않았음