Error log configuration normally includes one log filter component and one or more log sink components. For error log filtering, MySQL offers a choice of components:
log_filter_internal: This filter component provides error log filtering based on log event priority and error code, in combination with the
log_filter_internalis built in and enabled by default. See Section 18.104.22.168, “Priority-Based Error Log Filtering (log_filter_internal)”.
log_filter_dragnet: This filter component provides error log filtering based on user-supplied rules, in combination with the
dragnet.log_error_filter_rulessystem variable. See Section 22.214.171.124, “Rule-Based Error Log Filtering (log_filter_dragnet)”.