aws-codedeploy-agent
aws-codedeploy-agent copied to clipboard
Windows Deployment Group logs should be in the log folder
According to the documentation at https://docs.aws.amazon.com/codedeploy/latest/userguide/deployments-view-logs.html#deployments-view-logs-instance-windows We need to look at logs the locations C:\ProgramData\Amazon\CodeDeploy\log\codedeploy-agent-log.txt C:\ProgramData\Amazon\CodeDeploy\deployment-group-ID\deployment-ID\logs\scripts.log
The C:\ProgramData\Amazon\CodeDeploy\log\ can be redirected with :log_dir: https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-agent-configuration.html but the deployment-group-ID is uniquely generated, which makes it hard to get access to.
We would like the deployment logs to be able to redirected to under C:\ProgramData\Amazon\CodeDeploy\log\