From: Zack Cerza Date: Fri, 9 May 2014 20:50:22 +0000 (-0500) Subject: Don't pass a custom logger anymore X-Git-Tag: 1.1.0~1462 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0465bdbb130c57f8639e70cbfb59e2e7cb9aca3d;p=teuthology.git Don't pass a custom logger anymore We already use the hostname in command execution calls Signed-off-by: Zack Cerza --- diff --git a/teuthology/task/clock.py b/teuthology/task/clock.py index d7a26c42c..5920cd52f 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), )