Added thread names in log.