From f45a5afdc51ccef5cc6113dbf62bfa0e8194a941 Mon Sep 17 00:00:00 2001 From: Sonia Sharma Date: Thu, 20 May 2021 01:05:03 -0700 Subject: [PATCH] Fix init method in startStop.py --- lisa/features/startstop.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisa/features/startstop.py b/lisa/features/startstop.py index 02e1f9c41f..985c3a1855 100644 --- a/lisa/features/startstop.py +++ b/lisa/features/startstop.py @@ -4,6 +4,7 @@ from typing import Any from lisa.feature import Feature +from lisa.util.logger import get_logger FEATURE_NAME_STARTSTOP = "StartStop" @@ -11,7 +12,7 @@ class StartStop(Feature): def __init__(self, node: Any, platform: Any) -> None: super().__init__(node, platform) - self._log = self._node.log + self._log = get_logger("startstop", self.name(), self._node.log) @classmethod def name(cls) -> str: