반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Spring Error
- Spring
- codepipeline
- Flux
- Airflow
- VPN
- node
- Python
- codedeploy error
- AWS CI/CD 구축하기
- or some instances in your deployment group are experiencing problems.
- codebuild
- kubeflow
- redis
- Kafka
- 도커
- IntelliJ
- chartjs
- Jenkins
- PostgreSQL
- COALESCE
- codedeploy
- JavaScript
- docker
- SQL
- chart.js
- bootstrap
- aws
- aws cicd
- java bigdecimal
Archives
- Today
- Total
목록AOP (1)
Small Asteroid Blog

api 를 호출할 때마다 response, request 값의 로그를 log.info() 를 통해 작성하는 것이 비효율적이라고 느껴져서 공통적인 모듈을 사용해서 api 호출할때마다 로그를 안찍어도 출력될 수 있게 사용하고 싶었다. 로그를 남겨서 에러가 발생했을 때 빠른 대처와 api 흐름이 정상 동작하고 있는지에 대해 파악하기에도 좋다. build.gradle 에 의존성 추가 // aop implementation 'org.springframework.boot:spring-boot-starter-aop' //Joiner implementation 'com.google.guava:guava:31.1-jre' aop 를 사용하기 위해 의존성을 추가해준다. 코드에서 joiner 를 사용하기 위해선 관련 의존성..
백엔드/Spring
2023. 3. 20. 11:11