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

Ensure logshipper is available to anywhere pulling logger out of ctx #1429

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

RebeccaMahany
Copy link
Contributor

I noticed we weren't shipping osquery extension logs -- this is because the logshipper isn't set back into the ctx, and the osquery extension pulls the logger from there. There are a couple other places that pull the logger from the ctx as well.

This PR updates to set the logger back into the ctx after we update it to use the logshipper.

Copy link
Contributor

@directionless directionless left a comment

Choose a reason for hiding this comment

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

Seems fine, though I think we're going to replace this with slogger real soon

@RebeccaMahany RebeccaMahany added this pull request to the merge queue Oct 30, 2023
Merged via the queue into kolide:main with commit e0e1d1a Oct 30, 2023
25 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/ship-osq-logs branch October 30, 2023 16:12
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.

3 participants