Skip to content

traffic: replace print to debug so we can control output

guoqiao requested to merge catalyst-samba/samba:traffic-replay into master

For performance test automation, we need to parse output from script/traffic_replay, but we were using print/debug and stdout/stderr randomly, which means too much noise in output and the --debuglevel option can not actually control it.

This patch make the print/debug usage follow such convention:

  • Use print directly for result we want in stdout
  • Use debugN methods for debug/progress info, which will check debuglevel and print to stderr if allowed

Merge request reports