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

Fix sending of StdOutput messages to the server #56

Closed
ogarod opened this issue Feb 1, 2018 · 0 comments
Closed

Fix sending of StdOutput messages to the server #56

ogarod opened this issue Feb 1, 2018 · 0 comments
Assignees

Comments

@ogarod
Copy link
Contributor

ogarod commented Feb 1, 2018

Currently, the Fleetspeak client collects output from a daemon process's stdout and stderr streams at regular intervals and attempts to send that to the server (see client/daemonservice/execution/execution.go::flushOut()). However, that doesn't quite work because the messages do not have a destination set (an error is returned, which gets ignored).

We need to fix this as follows:

  • Add an option to the service configuration that controls whether to send output from stdout, stderr, or both to the server
  • Add a destination to the messages, so they actually get sent to the server. The destination will be configured in the service config.
@bgalehouse bgalehouse self-assigned this Mar 22, 2018
@bgalehouse bgalehouse mentioned this issue Mar 22, 2018
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

No branches or pull requests

2 participants