Adjust vollog log level of Exception

This commit is contained in:
Donghyun Kim
2022-03-25 23:22:23 +09:00
parent 52e84ee484
commit a9dabf90d7
@@ -125,11 +125,11 @@ class MBRScan(interfaces.plugins.PluginInterface):
format_hints.HexBytes(bootcode_buf)
))
else:
vollog.log(constants.LOGLEVEL_VV, f"Not a valid MBR: Data all zeroed out : {format_hints.Hex(offset)}")
vollog.log(constants.LOGLEVEL_VVV, f"Not a valid MBR: Data all zeroed out : {format_hints.Hex(offset)}")
continue
except exceptions.PagedInvalidAddressException as excp:
vollog.debug(f"Invalid address identified in guessed MBR: {hex(excp.invalid_address)}")
vollog.log(constants.LOGLEVEL_VVV, f"Invalid address identified in guessed MBR: {hex(excp.invalid_address)}")
continue
def run(self)-> renderers.TreeGrid: