add thread name to log lines