aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/OpenStack')
-rwxr-xr-xtestcases/OpenStack/vPing/vping.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/testcases/OpenStack/vPing/vping.py b/testcases/OpenStack/vPing/vping.py
index 168ed4f8f..90f664568 100755
--- a/testcases/OpenStack/vPing/vping.py
+++ b/testcases/OpenStack/vPing/vping.py
@@ -33,9 +33,6 @@ parser.add_argument("-m", "--mode", default='ssh',
args = parser.parse_args()
-""" logging configuration """
-logger = ft_logger.Logger("vping_userdata").getLogger()
-
def main():
if args.mode == 'ssh':
@@ -43,6 +40,8 @@ def main():
else:
case = 'vping_userdata'
+ logger = ft_logger.Logger(case).getLogger()
+
util.init(logger)
util.check_repo_exist()