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?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              svoj Sergey Vojtovich added a comment -

              Michael Widenius, please review fix for this bug.

              Show
              svoj Sergey Vojtovich added a comment - Michael Widenius , please review fix for this bug.
              Hide
              otto Otto Kekäläinen added a comment -

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

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

              Done.

              Show
              svoj Sergey Vojtovich added a comment - Done.
              Hide
              monty Michael Widenius added a comment -

              Patch approved

              Show
              monty Michael Widenius added a comment - Patch approved

                People

                • Assignee:
                  svoj Sergey Vojtovich
                  Reporter:
                  svoj Sergey Vojtovich
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: