diff --git a/volatility/cli/__init__.py b/volatility/cli/__init__.py index 7c1433a82..38c91b58b 100644 --- a/volatility/cli/__init__.py +++ b/volatility/cli/__init__.py @@ -164,8 +164,8 @@ class CommandLine(interfaces.plugins.FileConsumerInterface): else: console.setLevel(10 - (partial_args.verbosity - 2)) - vollog.debug("Volatility plugins path: {}".format(volatility.plugins.__path__)) - vollog.debug("Volatility symbols path: {}".format(volatility.symbols.__path__)) + vollog.info("Volatility plugins path: {}".format(volatility.plugins.__path__)) + vollog.info("Volatility symbols path: {}".format(volatility.symbols.__path__)) # Set the PARALLELISM if partial_args.parallelism == 'processes': diff --git a/volatility/cli/volshell/__init__.py b/volatility/cli/volshell/__init__.py index 7ba32d63c..cd669f028 100644 --- a/volatility/cli/volshell/__init__.py +++ b/volatility/cli/volshell/__init__.py @@ -108,6 +108,9 @@ class VolShell(cli.CommandLine): volatility.symbols.__path__ = [os.path.abspath(p) for p in partial_args.symbol_dirs.split(";")] + constants.SYMBOL_BASEPATHS + vollog.info("Volatility plugins path: {}".format(volatility.plugins.__path__)) + vollog.info("Volatility symbols path: {}".format(volatility.symbols.__path__)) + if partial_args.log: file_logger = logging.FileHandler(partial_args.log) file_logger.setLevel(0) diff --git a/volatility/framework/automagic/stacker.py b/volatility/framework/automagic/stacker.py index bccd13f1d..ba858fb1d 100644 --- a/volatility/framework/automagic/stacker.py +++ b/volatility/framework/automagic/stacker.py @@ -114,11 +114,11 @@ class LayerStacker(interfaces.automagic.AutomagicInterface): for stacker_cls in stack_set: stacker = stacker_cls() try: - vollog.log(constants.LOGLEVEL_VVVV, "Attempting to stack using {}".format(stacker_cls.__name__)) + vollog.log(constants.LOGLEVEL_VV, "Attempting to stack using {}".format(stacker_cls.__name__)) new_layer = stacker.stack(new_context, current_layer_name, progress_callback) if new_layer: new_context.layers.add_layer(new_layer) - vollog.log(constants.LOGLEVEL_VVVV, + vollog.log(constants.LOGLEVEL_VV, "Stacked {} using {}".format(new_layer.name, stacker_cls.__name__)) break except Exception as excp: diff --git a/volatility/framework/automagic/symbol_cache.py b/volatility/framework/automagic/symbol_cache.py index 9ef3a818d..6bdbe5b4d 100644 --- a/volatility/framework/automagic/symbol_cache.py +++ b/volatility/framework/automagic/symbol_cache.py @@ -45,7 +45,7 @@ class SymbolBannerCache(interfaces.automagic.AutomagicInterface): for path in banners[banner]: url = urllib.parse.urlparse(path) if url.scheme == 'file' and not os.path.exists(urllib.request.url2pathname(url.path)): - vollog.log(constants.LOGLEVEL_V, + vollog.log(constants.LOGLEVEL_VV, "Removing cached path {} for banner {}: file does not exist".format(path, banner)) banners[banner].remove(path) # This is probably excessive, but it's here if we need it @@ -53,7 +53,7 @@ class SymbolBannerCache(interfaces.automagic.AutomagicInterface): # zip_file, zip_path = url.path.split("!") # zip_file = urllib.parse.urlparse(zip_file).path # if ((not os.path.exists(zip_file)) or (zip_path not in zipfile.ZipFile(zip_file).namelist())): - # vollog.log(constants.LOGLEVEL_V, + # vollog.log(constants.LOGLEVEL_VV, # "Removing cached path {} for banner {}: file does not exist".format(path, banner)) # banners[banner].remove(path) @@ -102,7 +102,7 @@ class SymbolBannerCache(interfaces.automagic.AutomagicInterface): # We don't bother with the hash (it'll likely take too long to validate) # but we should check at least that the banner matches on load. banner = isf.get_symbol(self.symbol_name).constant_data - vollog.log(constants.LOGLEVEL_V, "Caching banner {} for file {}".format(banner, isf_url)) + vollog.log(constants.LOGLEVEL_VV, "Caching banner {} for file {}".format(banner, isf_url)) bannerlist = banners.get(banner, []) bannerlist.append(isf_url)