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

Pipe Support #4

Closed
jtrip opened this issue Feb 9, 2024 · 6 comments
Closed

Pipe Support #4

jtrip opened this issue Feb 9, 2024 · 6 comments

Comments

@jtrip
Copy link

jtrip commented Feb 9, 2024

Hello, toolong looks very nice in my quick testing, thanks for making it!

The mentions of tail and less in the readme got me excited to try to use it as a pager for journalctl but that doesn't seem to work. In fact piping any text to it doesn't seem to work.

if I set:
export SYSTEMD_PAGER=/home/me/.local/bin/tl
and then run journalctl, I get the tl help output

also if I just pipe text from journalctl or cat I get the tl help output.

Thanks for reading!

@Tinche
Copy link

Tinche commented Feb 9, 2024

I was just about to make this issue. Would love to be able to pipe kubectl logs -f or stern into toolong.

@gennaro-tedesco
Copy link

I second this use case as well: I have tried this out on kubectl logs and unfortunately being unable to read from pipes reduces the cases where this can be used a lot. Hopefully this feature to come in soon!

@pawamoy
Copy link

pawamoy commented Feb 13, 2024

And tl <(journalctl) fails with "Illegal seek" 😄

@seal2001
Copy link

That well fix it you can uninstall the pipe again install the pipe plugins

@MichaelXavier
Copy link

That well fix it you can uninstall the pipe again install the pipe plugins

I don't understand what you're referring to.

@willmcgugan
Copy link
Contributor

Version 1.30 should have support for piping. It's a little experimental, let me know if you find any issues.

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

7 participants