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

Audit: With default server_audit_rotate=OFF the logs are still rotated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      I keep default values for rotation parameters:

      | server_audit_rotate           | OFF          |
      | server_audit_rotations        | 9            |

      But the logs are still rotated at ~1000000 bytes:

      -rw-rw---- 1 elenst elenst  263536 Jul  5 20:24 my_audit.log
      -rw-rw---- 1 elenst elenst 1000190 Jul  5 20:23 my_audit.log.1
      -rw-rw---- 1 elenst elenst 1000011 Jul  5 20:23 my_audit.log.2
      -rw-rw---- 1 elenst elenst 1000013 Jul  5 20:23 my_audit.log.3
      -rw-rw---- 1 elenst elenst 1000081 Jul  5 20:22 my_audit.log.4
      -rw-rw---- 1 elenst elenst 1000022 Jul  5 20:22 my_audit.log.5
      -rw-rw---- 1 elenst elenst 1000252 Jul  5 20:22 my_audit.log.6
      -rw-rw---- 1 elenst elenst 1000162 Jul  5 20:21 my_audit.log.7
      -rw-rw---- 1 elenst elenst 1000146 Jul  5 20:21 my_audit.log.8
      -rw-rw---- 1 elenst elenst 1000016 Jul  5 20:21 my_audit.log.9

      To my knowledge, I don't do anything to provoke this.

      bzr version-info

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              holyfoot Alexey Botchkov
              Reporter:
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: