--debug (-g)

Overview

In 23.08, 23.02:

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 "cors-allow-origin" - enable CORS and set Access-Control-Allow-Origin header to the given value; "allow-duplicate-servers" - allow multiple servers to have the same address/port combination; "gdb-stacktrace" - Use GDB to generate stacktraces; "sql-batch-size" - Set maximum batch size for the REST-API (default: 10MiB)

In 22.08:

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 "cors-allow-origin" - enable CORS and set Access-Control-Allow-Origin header to the given value; "allow-duplicate-servers" - allow multiple servers to have the same address/port combination; "gdb-stacktrace" - Use GDB to generate stacktraces

In 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 23.08, in 23.02, in 22.08, in 6, in 2.5, and in 2.4

USAGE

DETAILS

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

23.08

  • Present starting in MariaDB MaxScale 23.08.1.

23.02

  • Present starting in MariaDB MaxScale 23.02.1.

22.08

  • Present starting in MariaDB MaxScale 22.08.1.

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.

EXTERNAL REFERENCES