X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=functest%2Futils%2Ffunctest_logger.py;h=022211cb712ba2812004f7fe58aa86af085643df;hb=672c39824631a873cbe80b2c90b694ff0d28e629;hp=0cba8c528963563905287b47390198dedefe0438;hpb=80427db866fccddd3c644bfec2645b196bb32501;p=functest.git diff --git a/functest/utils/functest_logger.py b/functest/utils/functest_logger.py index 0cba8c528..022211cb7 100755 --- a/functest/utils/functest_logger.py +++ b/functest/utils/functest_logger.py @@ -29,10 +29,12 @@ import json from functest.utils.constants import CONST -class Logger: +class Logger(object): + def __init__(self, logger_name): self.setup_logging() self.logger = logging.getLogger(logger_name) + logging.getLogger("paramiko").setLevel(logging.WARNING) def getLogger(self): return self.logger