From: Joe Guo Date: Mon, 20 Aug 2018 04:31:32 +0000 (+1200) Subject: script/traffic_replay: print packets data to stderr X-Git-Tag: tdb-1.3.17~1371 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33ce1fa23e8dfc0e392aa09733f36c5f2418a6fe;p=thirdparty%2Fsamba.git script/traffic_replay: print packets data to stderr This is debug info, should print to stderr. Otherwise it will flood stdout. Signed-off-by: Joe Guo Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/script/traffic_replay b/script/traffic_replay index f414015a872..a5074448ded 100755 --- a/script/traffic_replay +++ b/script/traffic_replay @@ -272,9 +272,9 @@ def main(): if opts.debuglevel > 5: for c in conversations: for p in c.packets: - print(" ", p) + print(" ", p, file=sys.stderr) - print('=' * 72) + print('=' * 72, file=sys.stderr) if opts.number_of_users and opts.number_of_users < len(conversations): print_err(("--number-of-users (%d) is less than the "