implement qlog JSONSEQ format, bump qlog version (#4609)

This commit is contained in:
Marten Seemann
2024-08-03 20:19:51 -07:00
committed by GitHub
parent f96923b5b2
commit d1f9af4cc6
9 changed files with 37 additions and 16 deletions

View File

@@ -39,7 +39,7 @@ func NewQLOGConnectionTracer(_ context.Context, p logging.Perspective, connID qu
log.Fatalf("failed to create qlog dir %s: %v", qlogDir, err)
}
}
path := fmt.Sprintf("%s/%s.qlog", strings.TrimRight(qlogDir, "/"), connID)
path := fmt.Sprintf("%s/%s.sqlog", strings.TrimRight(qlogDir, "/"), connID)
f, err := os.Create(path)
if err != nil {
log.Printf("Failed to create qlog file %s: %s", path, err.Error())