Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Add a new configuration option
log_suppress_repeated_errors that allows users to control the behavior
of error logging. When this option is set to a non-zero value, the
server will suppress repeated identical error messages after the
specified number of occurrences.
This is implemented by tracking the last logged error message and its
count. If a new message matches the previous one, and the count has not
reached the suppression limit, the message is not logged again. Once a
new unique message is encountered, the previous message's count is
logged, and the new message is printed.
The suppression can be disabled by setting the option to 0.
Default behaviour (log_suppress_repeated_errors = 0).
Pull request: https://github.com/MariaDB/server/pull/3565