Skip to content

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
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