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

Ship a final batch of logs before shutdown #1822

Merged

Conversation

RebeccaMahany
Copy link
Contributor

Because the logshipper is in a rungroup, it stops shipping logs as soon as the rungroup is interrupted. This means we usually don't launcher logs around shutdown and have to rely on flares for shutdown information.

This PR adds a final call to ship one more batch before shutdown so that we can hopefully at least see the reason for launcher shutdown in the cloud logs.

Copy link
Contributor

@James-Pickett James-Pickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@RebeccaMahany RebeccaMahany added this pull request to the merge queue Aug 6, 2024
Merged via the queue into kolide:main with commit 113dc3e Aug 6, 2024
29 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/ship-logs-on-shutdown branch August 6, 2024 17:31
@RebeccaMahany RebeccaMahany added the features-improvements Features and Improvements label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
features-improvements Features and Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants