--debug (-g)

Overview

In 22.08, 6, 2.5:

enable or disable debug features. Supported arguments: "disable-module-unloading" - disable module unloading at exit. Will produce better Valgrind leak reports if leaked memory was allocated in a shared library; "enable-module-unloading" - cancels disable-module-unloading; "redirect-output-to-file" - redirect stdout and stderr to the file given as an argument; "enable-statement-logging" - enable the logging of monitor and authenticator SQL statements sent by MaxScale to the servers; "disable-statement-logging" - disable the logging of monitor and authenticator SQL statements sent by MaxScale to the servers; "enable-cors" - enable CORS support in the REST API "allow-duplicate-servers" - allow multiple servers to have the same address/port combination; "gdb-stacktrace" - Use GDB to generate stacktraces

In 2.4:

enable or disable debug features. Supported arguments: "disable-module-unloading" - disable module unloading at exit. Will produce better Valgrind leak reports if leaked memory was allocated in a shared library; "enable-module-unloading" - cancels disable-module-unloading; "redirect-output-to-file" - redirect stdout and stderr to the file given as an argument; "enable-statement-logging" - enable the logging of monitor and authenticator SQL statements sent by MaxScale to the servers; "disable-statement-logging" - disable the logging of monitor and authenticator SQL statements sent by MaxScale to the servers

See also: maxscale options in 22.08, in 6, in 2.5, and in 2.4

CHANGE HISTORY

Release Series

History

22.08

  • Present starting in MariaDB MaxScale 22.08.0.

6

  • Present starting in MariaDB MaxScale 6.0.0.

2.5

  • Present starting in MariaDB MaxScale 2.5.0.

2.4

  • Present starting in MariaDB MaxScale 2.4.0.