Make the worker thread (pac.py) do the loggin stuff.