Feature request: --follow=false
guettli opened this issue · 2 comments
guettli commented
I would like to use this tool to fetch logs.
It would be great to have --follow=false
.
chandanpasunoori commented
@guettli as if now kail will log from start of command, unless --since flag is used, what is expected if --follow=false is created?
eg:
kail -d deployment_name --since=1m --follow=false
# with explicit since flag
or
kail -d deployment_name --follow=false
# with some default time (may be 1m?)
guettli commented
I expect this command to show the logs of the last minute, and then exit:
kail -d deployment_name --since=1m --follow=false
And this command makes not much sense. It should just print nothing:
kail -d deployment_name --follow=false
... or like you suggested, it shows the last X minutes. I would use 5 minutes.
Does this make sense to you?