forked from p34709852/monkey
Added depth logging for easier debugging down the line
This commit is contained in:
parent
10d1e7dc0b
commit
bd18893089
|
@ -83,6 +83,8 @@ class InfectionMonkey(object):
|
||||||
if self._opts.depth is not None:
|
if self._opts.depth is not None:
|
||||||
WormConfiguration._depth_from_commandline = True
|
WormConfiguration._depth_from_commandline = True
|
||||||
WormConfiguration.depth = self._opts.depth
|
WormConfiguration.depth = self._opts.depth
|
||||||
|
LOG.debug(f"Setting propagation depth from command line")
|
||||||
|
LOG.debug(f"Set propagation depth to {WormConfiguration.depth}")
|
||||||
|
|
||||||
self._keep_running = True
|
self._keep_running = True
|
||||||
self._network = NetworkScanner()
|
self._network = NetworkScanner()
|
||||||
|
|
Loading…
Reference in New Issue