mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
log everything in this test
This commit is contained in:
parent
781a4d424d
commit
c5279f3348
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user