kolide / launcher

Osquery launcher, autoupdater, and packager
https://kolide.com/launcher
Other
500 stars 99 forks source link

Pass system multislogger through to all launcher subcommands #1674

Closed RebeccaMahany closed 3 months ago

RebeccaMahany commented 3 months ago

In some subcommands (notably the Windows service subcommand), we create a system multislogger. However, we also have already created one in the main.go entrypoint. This PR updates all subcommands to accept the system multislogger created in main.go so that we only create/manage one of them.

I also pulled out CleanUpRenamedDebugLogs -- it's been long enough and I don't think we need it anymore.