Skip to content

Conversation

@hastinbe
Copy link

Replace strpos() check with strict regex that only matches log levels when they appear in the correct position after the timestamp bracket. This prevents words like "processed" or "failed" in log message text from being incorrectly identified as log levels.

Screenshot from 2025-10-29 09-35-50

Replace strpos() check with strict regex that only matches log levels
when they appear in the correct position after the timestamp bracket.
This prevents words like "processed" or "failed" in log message text
from being incorrectly identified as log levels.

Signed-off-by: Beau Hastings <beau@saweet.net>
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

Successfully merging this pull request may close these issues.

1 participant