esnet / iperf

iperf3: A TCP, UDP, and SCTP network bandwidth measurement tool
Other
6.93k stars 1.28k forks source link

Verbose output (--verbose) breaks JSON output (--json) #1365

Open TheRealDJ opened 2 years ago

TheRealDJ commented 2 years ago

Context

Bug Report

bmah888 commented 2 years ago

On one hand, this behavior shouldn't be a surprise because iperf3 prints this warning if you try to use those two features together:

warning: Verbose output (-v) may interfere with JSON output (-J)

On the other hand it'd probably be good if iperf3 didn't do that.

TheRealDJ commented 2 years ago

Can't the debug output be outputted to STDERR to resolve this?