runai xgboost logs

view logs of a xgboost training job

runai xgboost logs [WORKLOAD_NAME] [flags]

Examples

# Get logs for a xgboost training
runai training xgboost logs xgboost-01

# Get logs for a specific pod in a xgboost training
runai training xgboost logs xgboost-01 --pod=xgboost-01-worker-0

# Get logs for a specific container in a xgboost training
runai training xgboost logs xgboost-01 --container=xgboost-worker

# Get the last 100 lines of logs
runai training xgboost logs xgboost-01 --tail=100

# Get logs with timestamps
runai training xgboost logs xgboost-01 --timestamps

# Follow the logs
runai training xgboost logs xgboost-01 --follow

# Get logs for the previous instance of the xgboost training
runai training xgboost logs xgboost-01 --previous

# Limit the logs to 1024 bytes
runai training xgboost logs xgboost-01 --limit-bytes=1024

# Get logs since the last 5 minutes
runai training xgboost logs xgboost-01 --since=300s

# Get logs since a specific timestamp
runai training xgboost logs xgboost-01 --since-time=2023-05-30T10:00:00Z

# Wait up to 30 seconds for xgboost training to be ready for logs
runai training xgboost logs xgboost-01 --wait-timeout=30s

Options

Options inherited from parent commands

SEE ALSO

Last updated