Wait for log and status file.