kolide / launcher

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

overwrite multislogger.Logger memory rather than reassigning pointer #1578

Closed James-Pickett closed 5 months ago

James-Pickett commented 5 months ago

Noticed that some logs in main func were not getting shipped. When adding a handler we can overwrite the the memory address of the multslogger.Logger to make handlers propagate to previously assigned Loggers.