Logs
DevRamps provides real-time and historical logs for every step in your deployment pipeline. Use logs to monitor deployments as they happen and diagnose failures after the fact.
Real-Time Log Streaming
While a step is executing, you can stream its logs live in the DevRamps dashboard:
- Navigate to your pipeline in the dashboard.
- Click on the active deployment.
- Click on the step that's currently running.
- Logs stream in real time as the step executes.
Logs are streamed via Server-Sent Events (SSE), so they appear as they're produced with minimal delay.
Historical Logs
After a step completes (whether it succeeded or failed), logs remain available for review:
- Navigate to your pipeline.
- Select the deployment revision you want to inspect.
- Click on the stage and step.
- View the full log output.
Historical logs are stored in CloudWatch and are available for all past deployments.
Log Masking
Secret values are automatically masked in logs. If a step writes a secret value to stdout or stderr, it appears as *** in the log output. This prevents accidental exposure of sensitive data.
Log Content
What appears in logs depends on the step type:
| Step Type | Log Content |
|---|---|
| Terraform Synthesize | Terraform plan output, apply output, resource changes. |
| ECS Deploy | Deployment progress, health check status, service stabilization. |
| EKS Deploy / Helm | kubectl output, rollout status, pod events. |
| Docker Build | Docker build output (layer caching, compilation). |
| Bundle Build | Output from your build commands. |
| Script Execute | stdout and stderr from your script. |
| Custom Steps | Structured log entries from the SDK's this.logger. |
Log Retention
Historical logs are stored in CloudWatch Logs and retained for 90 days. After the retention period, logs are automatically deleted.
Log Search and Filtering
Logs in the dashboard display the full output of a step. You can use your browser's text search (Ctrl+F / Cmd+F) to find specific entries within a step's logs. There is no server-side log search or filtering at this time.
Downloading Logs
Logs are not currently downloadable directly from the dashboard. If you need log export capabilities, you can access them directly in CloudWatch Logs in your CI/CD account.