Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
22.08.11, 23.02.8, 23.08.4
-
None
Description
If a maxctrl command causes multiple warnings to be emitted, they are all logged on the same line:
maxctrl destroy server server1 --force
|
Warning: Saving runtime modifications to 'MariaDB-Monitor' in '/home/markusjm/build-develop/data/maxscale.cnf.d/MariaDB-Monitor.cnf'. The modified values will override the values found in the static configuration files.;Saving runtime modifications to 'RW-Split-Hint-Router' in '/home/markusjm/build-develop/data/maxscale.cnf.d/RW-Split-Hint-Router.cnf'. The modified values will override the values found in the static configuration files.;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.;Saving runtime modifications to 'SchemaRouter-Router' in '/home/markusjm/build-develop/data/maxscale.cnf.d/SchemaRouter-Router.cnf'. The modified values will override the values found in the static configuration files.;Saving runtime modifications to 'Read-Connection-Router' in '/home/markusjm/build-develop/data/maxscale.cnf.d/Read-Connection-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 more readable form of that would be:
maxctrl destroy server server1 --force
|
Warning: Saving runtime modifications to 'MariaDB-Monitor' in '/home/markusjm/build-develop/data/maxscale.cnf.d/MariaDB-Monitor.cnf'. The modified values will override the values found in the static configuration files.
|
Warning: Saving runtime modifications to 'RW-Split-Hint-Router' in '/home/markusjm/build-develop/data/maxscale.cnf.d/RW-Split-Hint-Router.cnf'. The modified values will override the values found in the static configuration files.
|
Warning: Saving runtime modifications to 'SchemaRouter-Router' in '/home/markusjm/build-develop/data/maxscale.cnf.d/SchemaRouter-Router.cnf'. The modified values will override the values found in the static configuration files.
|
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.
|
Warning: Saving runtime modifications to 'Read-Connection-Router' in '/home/markusjm/build-develop/data/maxscale.cnf.d/Read-Connection-Router.cnf'. The modified values will override the values found in the static configuration files.
|
Warning: Object 'server1' is defined in a static configuration file and cannot be permanently deleted. If MaxScale is restarted, the object will appear again.
|
To hide these warnings, run:
|
|
export MAXCTRL_WARNINGS=0
|
|
OK
|