We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95c42e5 + f4c3f5d commit 4055dabCopy full SHA for 4055dab
pkg/stream/logger.go
@@ -40,7 +40,7 @@ func NewLogWriter(stdout <-chan []byte, logFile string, wg *sync.WaitGroup) {
40
file.Close()
41
}
42
43
- f, err := os.OpenFile(logFile, os.O_WRONLY, 0777)
+ f, err := os.OpenFile(logFile, os.O_WRONLY|os.O_APPEND, 0777)
44
if err != nil {
45
glog.Error("Failed to open output file:", err)
46
return
0 commit comments