]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Inherit teuthology's log level
authorZack Cerza <zack@redhat.com>
Wed, 7 Jan 2015 16:53:38 +0000 (09:53 -0700)
committerZack Cerza <zack@redhat.com>
Wed, 7 Jan 2015 16:53:38 +0000 (09:53 -0700)
Signed-off-by: Zack Cerza <zack@redhat.com>
tasks/__init__.py

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..9a7949a001eb8449d86564b80c1e4978864966fd 100644 (file)
@@ -0,0 +1,6 @@
+import logging
+
+# Inherit teuthology's log level
+teuthology_log = logging.getLogger('teuthology')
+log = logging.getLogger(__name__)
+log.setLevel(teuthology_log.level)