aws logs tail --follow never exits #8576
Labels
bug
This issue is a bug.
logs
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
aws logs tail <log_group> --log-stream-names <stream name> --follow
Never exits even tho no more logs are coming in due to the service (Fargate Task in this case) has exited.
This means I have to quit the command using Ctrl-C and hence can't use it programatically.
Expected Behavior
aws logs tail should time out when no more logs are coming in.
Current Behavior
aws logs tail <log_group> --log-stream-names <stream name> --follow
Never exits even tho no more logs are coming in due to the service (Fargate Task in this case) has exited.
Reproduction Steps
This is reproducibel on both Mac and Linux systems.
Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.13.33 Python/3.11.6 Darwin/23.2.0 exe/x86_64 prompt/off
Environment details (OS name and version, etc.)
macOS (M2) Sonoma 14.2.1
The text was updated successfully, but these errors were encountered: