fix log stream to read the whole stream