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

Improve regexes for log-file error and warning counts (fixed #797) #798

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

jesusbagpuss
Copy link
Contributor

Match lines from the log file that have [ERROR] or [Warning] in them.

Including the square brackets in the regexes also simplifies other tests e.g. a Note that refers to the 'error log'.

NB The regexes could be further improved by removing the case-insensitive flag if the lines in the log file have always used the same capitalisation for 'ERROR' and 'Warning'.
I have looked at the MariaDB source-code for evidence of this, but as yet not found the truth.

@jmrenouard jmrenouard merged commit 00ae2c9 into major:master Sep 6, 2024
4 checks passed
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.

2 participants