]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Don't pass a custom logger anymore
authorZack Cerza <zack@cerza.org>
Fri, 9 May 2014 20:50:22 +0000 (15:50 -0500)
committerZack Cerza <zack@cerza.org>
Sat, 10 May 2014 14:10:23 +0000 (09:10 -0500)
We already use the hostname in command execution calls

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/task/clock.py

index d7a26c42cbcc497c6ff7c008ddbfd882eb8c0b96..5920cd52f49516d7cc15b19c6602cedd86050bef 100644 (file)
@@ -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),
                 )