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

Audit: NULL values for output_type and file_path are exessive

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      (null) values for server_audit_file_path and server_audit_output_type make no sense: they are not needed to disable the logging, server_audit_logging takes care of that. (null) values only make configuration more complicated.

      I suggest just to pick default values and set the variables to them, much like it's done for general log, slow log etc. I think server_audit_output_type=file would be more universal, and server_audit.log looks like a good candidate for the default log name.

      bzr version-info

      revision-id: holyfoot@askmonty.org-20130705160101-ni574i35exft3wn5
      revno: 3825
      branch-nick: 5.5-noga-hf

      Attachments

        Issue Links

          Activity

            Fixed as proposed.
            So no more 'null' value for the server_audit_output_type, and the file_path='server_audit.log' by default.

            holyfoot Alexey Botchkov added a comment - Fixed as proposed. So no more 'null' value for the server_audit_output_type, and the file_path='server_audit.log' by default.

            People

              holyfoot Alexey Botchkov
              elenst Elena Stepanova
              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.