From: Cédric Ollivier Date: Wed, 5 Jul 2017 18:44:37 +0000 (+0200) Subject: Fix logger name in vping_base.py X-Git-Tag: opnfv-5.0.RC1~260 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F36997%2F1;p=functest.git Fix logger name in vping_base.py It conforms with logging.ini which requires qualnames. Change-Id: Ic2f849009c31a3a7bc406fc44c4917d19ccf2424 Signed-off-by: Cédric Ollivier --- diff --git a/functest/opnfv_tests/openstack/vping/vping_base.py b/functest/opnfv_tests/openstack/vping/vping_base.py index 00dda73e1..74fbce1b0 100644 --- a/functest/opnfv_tests/openstack/vping/vping_base.py +++ b/functest/opnfv_tests/openstack/vping/vping_base.py @@ -38,7 +38,7 @@ class VPingBase(testcase.TestCase): # to be required for mock and the unit tests will fail without it os.environ - self.logger = logging.getLogger(self.__class__.__name__) + self.logger = logging.getLogger(__name__) if 'os_creds' in kwargs: self.os_creds = kwargs['os_creds']