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.
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.