add threadName to log.