From c5279f33484279e678aa155e0ec0fc9b0e59479a Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Thu, 3 Oct 2019 16:23:33 -0700 Subject: [PATCH] log everything in this test --- tests/test_cluster.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_cluster.py b/tests/test_cluster.py index 8eeca00..40e459d 100644 --- a/tests/test_cluster.py +++ b/tests/test_cluster.py @@ -32,8 +32,16 @@ import requests import subprocess import http.server import logging +import sys import warcprox +logging.root.handlers = [] +logging.basicConfig( + stream=sys.stderr, level=0, format=( + '%(asctime)s %(process)d %(levelname)s %(threadName)s ' + '%(name)s.%(funcName)s(%(filename)s:%(lineno)d) %(message)s')) +logging.trace('hi') + # https://stackoverflow.com/questions/166506/finding-local-ip-addresses-using-pythons-stdlib def _local_address(): import socket