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

Improperly formatted log lines being mistaken for stack traces #76

Open
kitrady opened this issue Jul 31, 2024 · 0 comments
Open

Improperly formatted log lines being mistaken for stack traces #76

kitrady opened this issue Jul 31, 2024 · 0 comments

Comments

@kitrady
Copy link
Contributor

kitrady commented Jul 31, 2024

If an improperly formatted log lines directly follows a stack trace, both the stack trace analyzer and format analyzer will confuse it as part of the stack trace. This means that when these analyzers report, they may add log lines that aren't supposed to be there or omit log lines that are supposed to be there, respectively. This is because both analyzers use the unstructured line type from the parser to check if the lines are still part of the stack trace, which leads to this bug, given that improperly formatted log lines also are marked as unstructured. I don't think this bug has any reasonable fix, given that this would require a really complex tokenization system, but I wanted to document it anyway so that people would be aware of this behavior.

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