summaryrefslogtreecommitdiff
path: root/test/testutil.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@rd.io>2015-06-08 23:05:55 -0700
committerDana Powers <dana.powers@rd.io>2015-06-08 23:05:55 -0700
commit432590550d745eb1eda49ac12d2f8a3dca01111d (patch)
treeac9933bdcf76249621b6e9af320fd7ff6075053b /test/testutil.py
parentb22ac148aa75e8e07075404bbfe98193641c1827 (diff)
downloadkafka-python-432590550d745eb1eda49ac12d2f8a3dca01111d.tar.gz
Reduce log chatter in tests (only debug kafka.conn in test_conn)
Diffstat (limited to 'test/testutil.py')
-rw-r--r--test/testutil.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/testutil.py b/test/testutil.py
index 99d8d01..3a1d2ba 100644
--- a/test/testutil.py
+++ b/test/testutil.py
@@ -113,3 +113,8 @@ class Timer(object):
self.interval = self.end - self.start
logging.basicConfig(level=logging.DEBUG)
+logging.getLogger('test.fixtures').setLevel(logging.ERROR)
+logging.getLogger('test.service').setLevel(logging.ERROR)
+
+# kafka.conn debug logging is verbose, disable in tests by default
+logging.getLogger('kafka.conn').setLevel(logging.INFO)