From d6e7b277b48abc1d25d0d8041b4f580fd66fa95d Mon Sep 17 00:00:00 2001 From: Manoel Marques Date: Thu, 30 Jan 2020 18:19:28 -0500 Subject: [PATCH] add aqua logging unit test --- qiskit/optimization/_logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit/optimization/_logging.py b/qiskit/optimization/_logging.py index 11c436c92..7ab2fdfa5 100644 --- a/qiskit/optimization/_logging.py +++ b/qiskit/optimization/_logging.py @@ -38,4 +38,4 @@ def set_qiskit_optimization_logging(level: int, filepath: Optional[str] = None) level: minimum severity of the messages that are displayed. filepath: file to receive logging data """ - set_logging_level(level, QiskitLogDomains.DOMAIN_OPTIMIZATION, filepath) + set_logging_level(level, [QiskitLogDomains.DOMAIN_OPTIMIZATION], filepath)