diff options
Diffstat (limited to 'functest/utils/functest_logger.py')
-rwxr-xr-x | functest/utils/functest_logger.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/functest/utils/functest_logger.py b/functest/utils/functest_logger.py index 0cba8c52..022211cb 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 |