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

Log a message whenever a server is set into maintenance mode.

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 22.08.2
    • maxctrl
    • None
    • MXS-SPRINT-166

    Description

      Currently after enabling* log_info=1* under [maxscale] section only display information about maintenance mode.

      Command :

      maxctrl set server vmc_c maintenance
      maxctrl clear server vmc_c maintenance
      
      

      Output :-

      2022-03-10 23:40:53   info   : Accept authentication from 'admin', using password. Request: /v1/servers/vmc_c/set
      2022-03-10 23:41:12   info   : Accept authentication from 'admin', using password. Request: /v1/servers/vmc_c/clear
      2022-03-10 23:41:18   info   : Accept authentication from 'admin', using password. Request: /v1/servers
      
      

      This can be changed to default without enabling log_info=1 for exact message to be logged as it doesn't tell what state the server was put into.

      Attachments

        Activity

          People

            markus makela markus makela
            pramod.mahto@mariadb.com Pramod Mahto
            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.