add log_thread