mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-22 17:23:06 +00:00
vmtest: enable logging when running vmtest.vm CLI
Specifically, we want logs from vmtest.download. Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
parent
6732148a11
commit
92f25e2974
@ -279,6 +279,11 @@ def run_in_vm(command: str, kernel_dir: Path, build_dir: Path) -> int:
|
||||
|
||||
if __name__ == "__main__":
|
||||
import argparse
|
||||
import logging
|
||||
|
||||
logging.basicConfig(
|
||||
format="%(asctime)s:%(levelname)s:%(name)s:%(message)s", level=logging.INFO
|
||||
)
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
description="run vmtest virtual machine",
|
||||
|
Loading…
Reference in New Issue
Block a user