script/traffic_replay: get debug level via api
authorJoe Guo <joeg@catalyst.net.nz>
Mon, 20 Aug 2018 04:18:45 +0000 (16:18 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 10 Oct 2018 04:16:21 +0000 (06:16 +0200)
commit57594c8772aac6341516fb78f452564f83cec54a
tree5b73ecc0ae89de3c12e0e9a2f95af2e19ec791ae
parent33ce1fa23e8dfc0e392aa09733f36c5f2418a6fe
script/traffic_replay: get debug level via api

The -d option will set samba global debug level automatically.
We should not parse and use the passed in value.

Use samba.get_debug_level instead.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
script/traffic_replay