truss model-logs [OPTIONS]
Fetches logs for a deployed model. Use this command to debug issues or monitor model behavior in production.
Options
The ID of the model to fetch logs from.
The ID of the deployment to fetch logs from.
Tail for ongoing logs. Streams new log entries as they arrive.
Name of the remote in .trussrc to fetch logs from.
Example:
Fetch logs for a specific deployment:
truss model-logs --model-id YOUR_MODEL_ID --deployment-id YOUR_DEPLOYMENT_ID
Stream logs in real-time:
truss model-logs --model-id YOUR_MODEL_ID --deployment-id YOUR_DEPLOYMENT_ID --tail