From bd18893089ef45f2a53b985f2e769da7e2e50408 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Sun, 10 May 2020 15:09:43 +0300 Subject: [PATCH] Added depth logging for easier debugging down the line --- monkey/infection_monkey/monkey.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index fa736cfc7..c96599844 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -83,6 +83,8 @@ class InfectionMonkey(object): if self._opts.depth is not None: WormConfiguration._depth_from_commandline = True 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._network = NetworkScanner()