traffic_replay: logger was ignoring smb.conf log-level
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 22 Oct 2018 21:19:38 +0000 (10:19 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Tue, 30 Oct 2018 23:30:16 +0000 (00:30 +0100)
commit4a8a0ab32be3372888b02a4f0632246e483aa491
tree2f119476abeba8708e286fac529c87982c3a0bef
parent4943473102883245fb2c286dfebe8a685d5b2026
traffic_replay: logger was ignoring smb.conf log-level

We were trying to access the debug-level (in python C bindings) before
the smb.conf had been loaded and actually set the debug-level. So it
would default to zero, regardless of what was in the smb.conf.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
script/traffic_replay