summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-07-05 20:44:37 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-07-06 07:47:19 +0200
commit9916cd3fbd116762a84ca3a81dd08315d0b747cd (patch)
tree8ec102653ec40989f8f7f2d27cd6cc32b1b62351
parent06d0e3210b1d53f936729a2b65f474864d46218e (diff)
Fix logger name in vping_base.py
It conforms with logging.ini which requires qualnames. Change-Id: Ic2f849009c31a3a7bc406fc44c4917d19ccf2424 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/openstack/vping/vping_base.py2
1 files changed, 1 insertions, 1 deletions
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']