awslogs
awslogs copied to clipboard
Adding command line argument to disable listing of all log streams
In case where there are many many log streams, iterating through all of them takes forever which makes the stream
argument useless if exact stream name is known.
This PR adds a new command line parameter to indicate that the stream parameter is exact match and awslogs
shouldn't iterate through all streams.
I also considered an option where first an exact match would be tried and if found use that instead of iterating. But that would be a breaking backward compatibility so I decided to use a flag.
Coverage decreased (-0.2%) to 91.579% when pulling 3b0154e9ce1faf25232b28eeb81b1c67ffbf6497 on Miksu82:master into 0886184d72acb57dfde6020fad41ec908a32806e on jorgebastida:master.
@jorgebastida Please consider merging this PR, is there anything else needed to move it forward?