Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log deployment IDs and lifecycle event with every line #326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mpdude
Copy link

@mpdude mpdude commented Jul 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant