jorgebastida / jorgebastida/awslogs

--watch doesn't work in combinationwith --start

Open
#334 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
5k
Forks
342
PR merge metrics
No merged PRs in 30d

Description

**When I execute:**

awslogs get /ecs/log-name --s 10m -w

**What I expect:**
Return last 10 minutes of logs and then continue show up logs in mode --watch

**What I will get instead:**
Only last 10 minutes of logs is returned, any new logs aren't appearing.

**Am I sure about that?**
Yes I'm. It was quadruplechecked.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with `awslogs get /ecs/log-name --s 10m -w`, then trace the command-line handling for `--start` and `--watch`. Done means the command first returns the last 10 minutes of logs and then continues displaying newly arriving logs in watch mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.