age: fix verbosity setting

This commit is contained in:
Roman Zeyde
2022-12-26 19:53:32 +02:00
parent 7cf3c520d3
commit 0bbb52f24e

View File

@@ -167,7 +167,7 @@ def main(device_type):
args = p.parse_args()
log_path = os.environ.get("TREZOR_AGE_PLUGIN_LOG")
util.setup_logging(verbosity=2, filename=log_path)
util.setup_logging(verbosity=args.verbose, filename=log_path)
log.debug("starting age plugin: %s", args)