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

Does not display last line if not terminated by newline when using docker #76

Open
netgusto opened this issue Feb 17, 2020 · 0 comments

Comments

@netgusto
Copy link
Owner

Currently, the last log line is not displayed if the output is not terminated by newline, when using docker toolchains.

This is probably due to the docker client buffering the log until the line is complete.

To reproduce, snippet in go:

package main

import "fmt"
import "time"

func main() {
	fmt.Println("Hello, World!")
    currentTimeMillis := time.Now().UnixNano() / int64(time.Millisecond)
    fmt.Printf("Current Time Millis: %d", currentTimeMillis)
}

Output may or may not contain last line:

Screenshot 2020-02-17 at 10 50 44

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

1 participant