-
Notifications
You must be signed in to change notification settings - Fork 144
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
Elastic Agent should aggregate the log from his subprocesses #221
Comments
@jlind23 @AndersonQ I believe this work is related to #88 |
Speaking with @blakerouse we're not sure if this approach simplifies logging in the way we expected. The initial v2 architecture is more likely to ship with a logging architecture similar to that from v1. @blakerouse can add more details later on the approach we should take instead. |
With the decision to revert to v1 style logging, we should remove the |
After discussion with @cmacknz, we are going to try and using an
For Endpoint Security, it will still write to its own file, Elastic Agent will read from that file and provide the same logic as if that was a spawned subprocess and it was reading from stdout/stderr. |
I think we can close this. There is follow up work to do but that is tracked in #1814. |
Running processes for the Elastic Agent should be considered an implementation details, currently, each process is responsible for writing their own log and handling the file rotation. Instead, each process should write their log to stdout and Elastic Agent should aggregate them and write them to his own logs and also handle the file rotation.
Tasks:
This work is related to #88
The text was updated successfully, but these errors were encountered: