diff --git a/cmd/ooniprobe/internal/log/handlers/cli/measurements.go b/cmd/ooniprobe/internal/log/handlers/cli/measurements.go index 8d74aca..cf1f022 100644 --- a/cmd/ooniprobe/internal/log/handlers/cli/measurements.go +++ b/cmd/ooniprobe/internal/log/handlers/cli/measurements.go @@ -137,6 +137,6 @@ func logMeasurementJSON(w io.Writer, f log.Fields) error { if err != nil { return err } - fmt.Fprintf(w, string(json)) + fmt.Fprintf(w, "%s", string(json)) return nil }