-
Notifications
You must be signed in to change notification settings - Fork 468
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
Remotely enable fleetd debug logging #25897
Comments
Related to #25671 |
Just chatted with @georgekarrv, and we think we need to turn on debug loggin in order to solve eponym's bug. The plan is to add a new Scheduled a special design review tomorrow to update this user story and get it moving. |
@lukeheath heads up, we have this one See the plan/next steps here. |
@noahtalerman Makes sense, thanks! |
FYI @lukeheath @georgekarrv I removed It sounds like we're growing confident we have a fix for |
Problem
What have you tried?
Debug logging for Fleet's agent is controlled by command line flags for the fleetd process. Existing processes require building a new fleetd package with the flag enabled or taking ad hoc actions directly on the host (e.g., modifying launch daemons, restarting the fleetd process with the flag enabled, etc.). The process is further complicated in cases where fleetd is deployed using the
fleetd-base
package, such as installing fleetd via MDM, and especially so when trying to debug issues involving the macOS setup experience.Potential solutions
Modify fleetd to allow IT admins to dynamically enable debug logging on already deployed hosts. To accomplish this, a new setting would need to be exposed via UI/API. Some ideas:
enable_debug
as part of thenotifications
payloadagent_options
(although IMO it would be more user-friendly as a standalone setting).enable_debug
as part of thenotifications
(alternatively,agent_options
) payloadWhat is the expected workflow as a result of your proposal?
After enabling the setting as described above, the IT admin would then be able to easily access the enhanced debug logs by querying a host's
fleetd_logs
table or inspecting the logs directly on the host.The text was updated successfully, but these errors were encountered: