Changes by @changreytang allow launching of logviewer processes to be launched dynamically when either the first supervisor on a host is launched or the logviewer container dies and sends a task update to Mesos Nimbus. These changes were added in PR #212 and PR #228. In the event that a user does not wish to launch the logviewer in this fashion, they are now able to opt out.
This PR has two commits:
Remove defunct supervisor.autostart.logviewer configuration option and refactor the associated code to instead work on mesos.logviewer.sidecar.enabled.
Add checks around the logic that controls when we launch a logviewer so that when opting out of the sidecar pattern, we don't launch the sidecars.
Changes by @changreytang allow launching of logviewer processes to be launched dynamically when either the first supervisor on a host is launched or the logviewer container dies and sends a task update to Mesos Nimbus. These changes were added in PR #212 and PR #228. In the event that a user does not wish to launch the logviewer in this fashion, they are now able to opt out.
This PR has two commits:
supervisor.autostart.logviewer
configuration option and refactor the associated code to instead work onmesos.logviewer.sidecar.enabled
.