avocado.core.output: Add missing attribute for OutputManager

So the vm plugin can correctly determine the logs dir.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 acc5648d
......@@ -204,6 +204,7 @@ class OutputManager(object):
:param logfile: Path to file that will receive logging.
:param loglevel: Level of the logger. Example: :mod:`logging.DEBUG`.
"""
self.debuglog = logfile
self.file_handler = logging.FileHandler(filename=logfile)
self.file_handler.setLevel(loglevel)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册