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

Debian: mysqld_safe Can't log to error log and syslog at the same time

Details

    Description

      mariadb-server-10.0 depends on mysql-common.
      mariadb-server-10.0 provides /etc/mysql/conf.d/mysqld_safe_syslog.cnf, which has "syslog" option.
      mysql-common in debian repo provides /etc/mysql/my.cnf, which has "log_error=" option.
      mysql-common in mariadb repo provides /etc/mysql/my.cnf, which has no "log_error=" option.

      As a result default debian installation has both "log_error=" and "syslog" options, causing a warning and ignores intended "syslog".
      Default installation from mariadb repo works well though.

      There was an idea to add something like "disable_log_error" to mysqld_safe_syslog.cnf, but then how do we distinguish between default "log_error" and one specified by user?

      Attachments

        Issue Links

          Activity

            monty, please review fix for this bug.

            svoj Sergey Vojtovich added a comment - monty , please review fix for this bug.

            svoj Can you please link the commit you made to this issue so that it is easy to track and review? Thanks

            otto Otto Kekäläinen added a comment - svoj Can you please link the commit you made to this issue so that it is easy to track and review? Thanks

            Done.

            svoj Sergey Vojtovich added a comment - Done.

            Patch approved

            monty Michael Widenius added a comment - Patch approved

            People

              svoj Sergey Vojtovich
              svoj Sergey Vojtovich
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.