diff --git a/warcprox/writerthread.py b/warcprox/writerthread.py index d656951..11f3e3f 100644 --- a/warcprox/writerthread.py +++ b/warcprox/writerthread.py @@ -38,6 +38,7 @@ class WarcWriterThread(threading.Thread): def run(self): try: + self.setName('WarcWriterThread(tid={})'.format(warcprox.gettid())) while not self.stop.is_set(): try: recorded_url = self.recorded_url_q.get(block=True, timeout=0.5)