I want to change the log display style when I run sam deploy
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 1.2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 52
Description
### Describe your idea/feature/enhancement
When running `sam deploy`, stack events and error messages are always printed in a fixed columnar table format.
This format is sometimes hard to work with, especially when logs are consumed in CI/CD or redirected to files.
Unlike the AWS CLI `--output` option (which controls API response formatting), this request is specifically about the **log display style** of deployment progress.
### Proposal
Add a dedicated option (for example, `--log-format`) to control how deployment logs are displayed.
- Default remains the current table format.
- Possible alternatives: `raw`, `compact`, or structured formats such as JSON/YAML.
- This would not affect the final SAM outputs, only how logs are streamed to the user.
#### Things to consider
1. No change to the [SAM Spec](https://github.com/awslabs/serverless-application-model) is required.
This is purely a CLI usability improvement.
### Additional Details
Example:
```bash
sam deploy --log-format text
Contributor guide
Assessment
This issue has not been assessed yet.