Where are AWS CodeDeploy Deployment logs found?

Linux Deployment Logs (Not the same as original answer):

/var/log/aws/codedeploy-agent/codedeploy-agent.log

Linux Script Logs:

/opt/codedeploy-agent/deployment-root/deployment-group-ID/deployment-ID/logs/scripts.log

https://docs.aws.amazon.com/codedeploy/latest/userguide/deployments-view-logs.html


I've figured it out. The deployment logs are found in:

/opt/codedeploy-agent/deployment-root/deployment-logs/codedeploy-agent-deployments.log

Each deployment also keeps its logs in:

/opt/codedeploy-agent/deployment-root/88f9d1cf-4ee4-4b0c-9458-b1d41b8d4b48/d-TTUV9E8BG/logs/script.log where 88f9d1cf-4ee4-4b0c-9458-b1d41b8d4b48/d-TTUV9E8BG is different for each deployment.

On windows this appears to be:

C:\ProgramData\Amazon\CodeDeploy<DEPLOYMENT-GROUP-ID><DEPLOYMENT-ID>\logs\scripts.log

Source: https://github.com/aws/aws-codedeploy-agent/issues/8