add thread info to log