aws-codedeploy-agent icon indicating copy to clipboard operation
aws-codedeploy-agent copied to clipboard

Log deployment IDs and lifecycle event with every line

Open mpdude opened this issue 3 years ago • 0 comments

This PR amends the log format so that the deployment ID and the lifecycle event are added to every line.

This makes logfile aggregation/processing much easier, since it is no longer necessary to statefully follow log lines to be able to infer the lifecycle event.

Additionally, it is now possible to follow just the /opt/codedeploy-agent/deployment-root/deployment-logs/codedeploy-agent-deployments.log log and find all events in one place, while still being able to relate them to deployments and lifecycle phases for every single line.

mpdude avatar Jul 01 '22 21:07 mpdude