From 8df1b03f0f423175503567aad8420015a5a0750c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 4 Feb 2015 19:09:54 +0800 Subject: [PATCH] artiq_run: add verbosity config --- artiq/frontend/artiq_run.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_run.py b/artiq/frontend/artiq_run.py index 73a733ecf..a36f903cf 100755 --- a/artiq/frontend/artiq_run.py +++ b/artiq/frontend/artiq_run.py @@ -12,7 +12,7 @@ from artiq.language.db import * from artiq.protocols import pyon from artiq.protocols.file_db import FlatFileDB from artiq.master.db import DBHub, ResultDB -from artiq.tools import file_import +from artiq.tools import file_import, verbosity_args, init_logger class ELFRunner(AutoDB): @@ -37,6 +37,7 @@ def get_argparser(): parser = argparse.ArgumentParser( description="Local experiment running tool") + verbosity_args(parser) parser.add_argument("-d", "--ddb", default="ddb.pyon", help="device database file") parser.add_argument("-p", "--pdb", default="pdb.pyon", @@ -67,6 +68,7 @@ def _parse_arguments(arguments): def main(): args = get_argparser().parse_args() + init_logger(args) ddb = FlatFileDB(args.ddb) pdb = FlatFileDB(args.pdb)