diff --git a/interop/utils/logging.go b/interop/utils/logging.go index 3e01395de..17ca742ef 100644 --- a/interop/utils/logging.go +++ b/interop/utils/logging.go @@ -39,7 +39,8 @@ func GetQLOGWriter() (func(connID []byte) io.WriteCloser, error) { path := fmt.Sprintf("%s/%x.qlog", strings.TrimRight(qlogDir, "/"), connID) f, err := os.Create(path) if err != nil { - log.Fatalf("Failed to create qlog file %s: %s", path, err.Error()) + log.Printf("Failed to create qlog file %s: %s", path, err.Error()) + return nil } return utils.NewBufferedWriteCloser(bufio.NewWriter(f), f) }, nil