From 0465bdbb130c57f8639e70cbfb59e2e7cb9aca3d Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 9 May 2014 15:50:22 -0500 Subject: [PATCH] Don't pass a custom logger anymore We already use the hostname in command execution calls Signed-off-by: Zack Cerza --- teuthology/task/clock.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/teuthology/task/clock.py b/teuthology/task/clock.py index d7a26c42cbcc4..5920cd52f4951 100644 --- a/teuthology/task/clock.py +++ b/teuthology/task/clock.py @@ -1,5 +1,5 @@ """ -Clock synchronizer +Clock synchronizer """ import logging import contextlib @@ -53,7 +53,6 @@ def task(ctx, config): 'PATH=/usr/bin:/usr/sbin', 'ntpdc', '-p', ], - logger=log.getChild(rem.name), ) try: @@ -67,7 +66,6 @@ def task(ctx, config): 'PATH=/usr/bin:/usr/sbin', 'ntpdc', '-p', ], - logger=log.getChild(rem.name), ) @@ -75,7 +73,7 @@ def task(ctx, config): def check(ctx, config): """ Run ntpdc at the start and the end of the task. - + :param ctx: Context :param config: Configuration """ @@ -86,7 +84,6 @@ def check(ctx, config): 'PATH=/usr/bin:/usr/sbin', 'ntpdc', '-p', ], - logger=log.getChild(rem.name), ) try: @@ -100,5 +97,4 @@ def check(ctx, config): 'PATH=/usr/bin:/usr/sbin', 'ntpdc', '-p', ], - logger=log.getChild(rem.name), ) -- 2.47.3