Stdout seems to be buffered in Docker containers #250
Labels
No Label
Roadmap
V
bug
docs
duplicate
enhancement
good first issue
help wanted
idea
invalid
question
wontfix
Idea
Roadmap
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#250
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
After merging #248, the Docker container seems to be buffering logs until a sufficient number of lines are present. Then, they're printed all at once. I have no idea what caused this, but this should not be how it is. It should output each log line the moment it receives them.
I'm pretty sure this can be resolved by using
setbuf(stdout, NULL);
to disable buffering for stdout (& stderr as well).