- ray.experimental.state.api.list_logs(address: Optional[str] = None, node_id: Optional[str] = None, node_ip: Optional[str] = None, glob_filter: Optional[str] = None, timeout: int = 30) Dict[str, List[str]] [source]#
Listing log files available.
address – Ray bootstrap address, could be
localhost:6379. If not specified, it will be retrieved from the initialized ray cluster.
node_id – Id of the node containing the logs.
node_ip – Ip of the node containing the logs.
glob_filter – Name of the file (relative to the ray log directory) to be retrieved. E.g.
glob_filter="*worker*"for all worker logs.
actor_id – Id of the actor if getting logs from an actor.
timeout – Max timeout for requests made when getting the logs.
_interval – The interval in secs to print new logs when
A dictionary where the keys are log groups (e.g. gcs, raylet, worker), and values are list of log filenames.
RayStateApiExceptionif the CLI failed to query the data, or ConnectionError if failed to resolve the ray address.