Add support printing TID to logs (#323)

4 files changed