ENH: log also threadName -- helps a lot while debugging multiple jails

but may be it should be in effect only in DEBUG mode?