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

override log shipping level on start up #1467

Merged
merged 6 commits into from
Nov 21, 2023

Conversation

James-Pickett
Copy link
Contributor

@James-Pickett James-Pickett commented Nov 20, 2023

  • adds flag override functionality for string flags
  • log shipper increases / decreases shipping interval when level changed
  • set log shipping level to debug for X minutes on launcher startup


ls.Ping()
return ls
}

func (ls *LogShipper) FlagsChanged(flagKeys ...keys.FlagKey) {
// TODO: only make updates that are relevant to flag key changes
Copy link
Contributor Author

@James-Pickett James-Pickett Nov 20, 2023

Choose a reason for hiding this comment

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

I will address this in follow on PR, it doesn't make anything worse ... maybe even slightly better =)

@James-Pickett James-Pickett marked this pull request as ready for review November 20, 2023 18:30
zackattack01
zackattack01 previously approved these changes Nov 20, 2023
Copy link
Contributor

@RebeccaMahany RebeccaMahany left a comment

Choose a reason for hiding this comment

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

Nice!

@James-Pickett James-Pickett added this pull request to the merge queue Nov 21, 2023
Merged via the queue into kolide:main with commit c882f3a Nov 21, 2023
24 checks passed
@James-Pickett James-Pickett deleted the james/debug-on-start branch November 21, 2023 22:34
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