Skip to content

Hangs on very long lines #55

@Rictus

Description

@Rictus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions