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

debian-start spams the syslog after an upgrade

Details

    Description

      After upgrading MariaDB 10.0 using the MariaDB repository (even a minor upgrade), debian-start.sh executes mysql_upgrade and sends its output to the syslog.

      The default behavior of mysql_upgrade is to output "database.table OK" for each tables that didnt require an upgrade.
      The server i did upgrade have more than 200000 tables, which means that more than 200000 log lines are added to the syslog that does just states that nothing has been done.

      Suggested fix : Add '--silent' to the call of "mysql_upgrade" which should only log tables that have been upgraded.

      Attachments

        Issue Links

          Activity

            Is there any down sides that you add '--silent' to upgrade? otto Can you come any downside that user can't see huge logs?

            illuusio Tuukka Pasanen added a comment - Is there any down sides that you add '--silent' to upgrade? otto Can you come any downside that user can't see huge logs?

            I don't know. Do we have a normal output and --silent output examples to
            view and compare to see what they reveal/hide?

            otto Otto Kekäläinen added a comment - I don't know. Do we have a normal output and --silent output examples to view and compare to see what they reveal/hide?

            Ok I need to test what test suppress

            illuusio Tuukka Pasanen added a comment - Ok I need to test what test suppress

            Testing this on systemd system is not easy but this should not make any harm

            illuusio Tuukka Pasanen added a comment - Testing this on systemd system is not easy but this should not make any harm

            danblack could you take look on PR.

            illuusio Tuukka Pasanen added a comment - danblack could you take look on PR.

            People

              illuusio Tuukka Pasanen
              jb-boin Jean Weisbuch
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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