Skip to content

Treat log files always as text when parsing with grep #411

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

Closed
wants to merge 1 commit into from

Conversation

hadret
Copy link

@hadret hadret commented Feb 27, 2023

This change enforces grep to always treat log files as text, preventing it from ever outputting "Binary file /var/log/mysql/error.log matches" as an argument to wsrep_start_position, which may happen when that error.log file contains null pointers. More details in #410

This change enforces grep to always treat log files as text, preventing
it from ever outputing "Binary file /var/log/mysql/error.log matches" as
an argument to `wsrep_start_position` (it may happen when that error.log
file contains null pointers).
@ayurchen
Copy link
Member

ayurchen commented Jan 8, 2024

Thanks for the pull request! Unfortunately more files had to be fixed, so we had to do our own instead. Will be in the next release.

@ayurchen ayurchen closed this Jan 8, 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