-
Notifications
You must be signed in to change notification settings - Fork 64
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
Stream logs via podman api #99
Conversation
Removed sleeps from tests
…gger Add disable_log_collection driver option. Add more documentation to logger options.
@jrasell this is a somewhat long living branch but it's in a good shape now. Please review it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay on getting this reviewed @towe75.
I had some minor comments and questions, but from my tests it seems to all work well 🙂
@towe75 just as a reminder, would you also update the |
Website docs updated in hashicorp/nomad#11300. |
Up to now we where only able to forward a combined stdout/stderr stream directly from the container to the alloc fifo. This imposes problems for external log shippers and also in situations where you depend on a separate stderr output.
This PR adds a podman API based log streamer to the plugin. It needs an extra opt-in by driver config and is, for now, restricted to the podman journald mode. It addresses also a discussion back from #4