提交 1bf7eb26 编写于 作者: A Amador Pahim

fix depredated message for --multiplex option

Since the test logger is not yet enabled when plugins are in action, we
should use avocado.app logger to warn user about the deprecated option
--multiplex.
Signed-off-by: NAmador Pahim <apahim@redhat.com>
上级 c4d9ea0c
......@@ -270,7 +270,7 @@ class YamlToMux(CLI):
if multiplex_files:
msg = ("The use of `--multiplex` is deprecated, use `--mux-yaml` "
"instead.")
logging.getLogger("avocado.test").warning(msg)
logging.getLogger("avocado.app").warning(msg)
debug = getattr(args, "mux_debug", False)
try:
args.mux.data_merge(create_from_yaml(multiplex_files, debug))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册