Documentation Index
Fetch the complete documentation index at: https://ray-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Where logs live
/tmp/ray/session_latest/logs/ on every node. Subdirectories include:
dashboard.log,dashboard_agent.log— dashboardgcs_server.out— GCSmonitor.out— autoscalerraylet.out— per-node rayletworker-*.out/worker-*.err— Python worker stdout/stderr
Per-job logs
Logs fromray.init (driver) and your tasks/actors are routed through the raylet. By default, worker stdout/stderr is forwarded to the driver and printed in your terminal.
Disable with:
Log aggregation
Run a log shipper on every node (fluentbit, Vector, Datadog Agent) tailing/tmp/ray/session_latest/logs/.
Sample fluentbit input:
Dedup
RAY_DEDUP_LOGS=1 collapses identical log lines from many workers into a single line in the driver output. On for the driver only — workers still log everything to disk.
Rotation
Sensitive data
Worker logs may include argument values. Don’t pass secrets as task arguments — use environment variables or runtime envs instead.Next steps
Observability
Logs, metrics, and tracing together.
Best practices
Logging in large clusters.