Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add an option for disabling default tail #104

Open
mreza-kiani opened this issue Oct 5, 2019 · 3 comments
Open

Please add an option for disabling default tail #104

mreza-kiani opened this issue Oct 5, 2019 · 3 comments

Comments

@mreza-kiani
Copy link

Hi
Thanks for your great product! But it has some misses which seem really useful. For example grep option which there is a pull request which adds this feature. And another essential feature is some option that helps me to get all log of the pods not from now on, I mean not applying tail option. Can you add this feature too?

@johanhaleby
Copy link
Owner

@mreza-kiani I've added a comment in the grep PR , please answer :)

I'm not sure how easy it would be to disable tail since "kubetail" (as the name implies) is built for the sole purpose of tailing. I can see that this use case would be valid though. Maybe you could have a go and provide a PR?

@mreza-kiani
Copy link
Author

Yeah, your answer on grep PR was valid.
About disabling tail, I saw there is a --tail option in your help menu, and because of that I thought it would act as --tail option in kubectl log command for instance: kubectl logs -f <pod_name> --tail 1000
Disabling tail is not necessary, but start get some logs before now would be a useful option.
I would check if I can add this option or not.

@johanhaleby
Copy link
Owner

johanhaleby commented Oct 9, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants