Get container logs for a deployment
edgegap_get_deployment_logsRetrieve deployment stdout/stderr and crash output to diagnose errors or unexpected server exits. Use the crash exit code to identify problems faster than redeploying.
Instructions
Retrieve stdout/stderr and crash output for a deployment. Call this whenever a deployment errors or a server exits unexpectedly — the crash exit code usually identifies the problem faster than redeploying does. Logs for stopped deployments are only retained if Endpoint Storage was configured on the version beforehand.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | The request_id of the deployment. | |
| max_characters | No | Truncate logs to this length, keeping the tail. Default 8000. |