log
-
AWS codeDeploy error log 확인Computer Science/Aws 2022. 8. 9. 03:56
aws codeDeploy error 는 /var/log/aws/codedeploy-agent 아래에 파일들로 로그가 남는다. The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems. 라는 오류가 aws deploy에서 나올 때가 있는데, 혹 ec2 iam을 deploy-agent가 적용이 안되어 있을 수 있다. sudo service codedeploy-agent restart 를 통..
-
spring boot datadog json으로 log 남기기.Computer Science/Spring boot 2022. 8. 5. 16:31
datadog.yaml에서 log 기능을 우선 enable 해준다. /etc/datadog-agent/datadog.yaml 에 대부분 위치해 있다. logs_enabled: true 로 변경 해준뒤 저장하고, datadog-agent/con.d 에 java.yaml 파일을 만들어준다. #Log section logs: - type: file path: "/path/to/your/java/log.log" service: java source: java sourcecategory: sourcecode # For multiline logs, if they start by the date with the format yyyy-mm-dd uncomment the following processing rule #..