Get error log in exec using process