Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-1322

Flushing log should reopen, not reopen and truncate.

    XMLWordPrintable

Details

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

    Description

      When issuing

      MaxScale> flush logs
      

      the log file is closed and then reopened and truncated.

      That means that unless the file has been moved first, data will be lost.

      The command should just cause the file to be reopened and if you want to reset the file you should manually remove the file and then issue flush logs or just

      $ truncate -s 0 maxscale.log
      

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            johan.wikman Johan Wikman
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.