diff options
author | 2017-10-10 18:08:39 +0300 | |
---|---|---|
committer | 2017-10-10 18:08:39 +0300 | |
commit | 5c6eb170878cefa12f717a62c31f7228d440e61e (patch) | |
tree | 1ac74fe56257a68ccf5a35499ba9e458a9b436ed /app/discover/scan.py | |
parent | a947ad2815cea81e126e7813d718531be414b02c (diff) |
release 1.1 for euphrates
Change-Id: Iddc0e0148db7c72458b7fcdfcb7664e4aa609be0
Signed-off-by: Koren Lev <korenlev@gmail.com>
Diffstat (limited to 'app/discover/scan.py')
-rwxr-xr-x | app/discover/scan.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/discover/scan.py b/app/discover/scan.py index 86ee990..6c40a7f 100755 --- a/app/discover/scan.py +++ b/app/discover/scan.py @@ -253,10 +253,12 @@ class ScanController(Fetcher): args = setup_args(args, self.DEFAULTS, self.get_args) # After this setup we assume args dictionary has all keys # defined in self.DEFAULTS + self.log.set_loglevel(args['loglevel']) try: MongoAccess.set_config_file(args['mongo_config']) self.inv = InventoryMgr() + self.inv.log.set_loglevel(args['loglevel']) self.inv.set_collections(args['inventory']) self.conf = Configuration() except FileNotFoundError as e: @@ -273,6 +275,7 @@ class ScanController(Fetcher): # generate ScanObject Class and instance. scanner = Scanner() + scanner.log.set_loglevel(args['loglevel']) scanner.set_env(env_name) scanner.found_errors[env_name] = False |