MySQL :: MySQL 8.4 Reference Manual :: 7.5.3 Error Log Components (original) (raw)

7.5.3 Error Log Components

This section describes the characteristics of individual error log components. For general information about configuring error logging, see Section 7.4.2, “The Error Log”.

A log component can be a filter or a sink:

The log_error_services system variable lists the enabled log components. Components not named in the list are disabled.log_error_services also implicitly loads error log components if they are not already loaded. For more information, seeSection 7.4.2.1, “Error Log Configuration”.

The following sections describe individual log components, grouped by component type:

Component descriptions include these types of information:

Sink Error Log Components

Error log sink components are writers that implement error log output. If no sink component is enabled, no log output occurs.

Some sink component descriptions refer to the default error log destination. This is the console or a file and is indicated by the value of the log_error system variable, determined as described inSection 7.4.2.2, “Default Error Log Destination Configuration”.

The log_sink_internal Component
The log_sink_json Component
The log_sink_syseventlog Component
The log_sink_test Component

Sink properties such as whether multiple uses are permitted and the output destination are not specified forlog_sink_test because, as mentioned, it is for internal use. As such, its behavior is subject to change at any time.