Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-36008

Add option to suppress repeated error log messages

    XMLWordPrintable

Details

    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

      Attachments

        Activity

          People

            svoj Sergey Vojtovich
            svoj Sergey Vojtovich
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.