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

Hangs on very long lines #55

Open
Rictus opened this issue Aug 5, 2024 · 1 comment
Open

Hangs on very long lines #55

Rictus opened this issue Aug 5, 2024 · 1 comment

Comments

@Rictus
Copy link

Rictus commented Aug 5, 2024

It seems toolong hangs indefinitly when it encounters a line that is... toolong :)

This issue exists for toolong 1.5.0, I don't reproduce with toolong 1.4.0

Here's a test file
root.log.139.txt
And here's a capture of htop
image

while toolong looks like this
image

I'll take a look at the code and make a PR if I can find the time.

Edit: Looks like it's the RegexLogFormat that takes too much time to resolve

Thanks

@Rictus
Copy link
Author

Rictus commented Aug 12, 2024

Hello @willmcgugan
Do you think there is more work to be done or maybe it's the wrong direction?

Thanks!

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

1 participant