fix log streaming