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

MaxCtrl warnings are very verbose

    XMLWordPrintable

Details

    Description

      Any modification to an object or MaxScale itself will cause several lines to be printed:

      maxctrl alter service RW-Split-Router log_info=true
      Warning: Saving runtime modifications to 'RW-Split-Router' in '/home/markusjm/build-develop/data/maxscale.cnf.d/RW-Split-Router.cnf'. The modified values will override the values found in the static configuration files.
      To hide these warnings, run:
       
          export MAXCTRL_WARNINGS=0
       
      OK
      

      A less verbose version would be adequate:

      maxctrl alter service RW-Split-Router log_info=true
      Warning: Saving runtime modifications to 'RW-Split-Router' in '/home/markusjm/build-develop/data/maxscale.cnf.d/RW-Split-Router.cnf'.
      

      The instructions about warnings can be moved to the --help output.

      Additionally, the warning is always present in MaxCtrl while it was only logged once in the MaxScale log.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            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.