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:错误日志配置通常包括一个日志筛选器组件和一个或多个日志接收器组件。对于错误日志过滤,MySQL提供了一个组件选择:
log_filter_internal
: This filter component provides error log filtering based on log event priority and error code, in combination with the :此筛选器组件根据日志事件优先级和错误代码,结合log_error_verbosity
and log_error_suppression_list
system variables. log_error_verbosity
和log_error_suppression_list
系统变量,提供错误日志筛选。log_filter_internal
is built in and enabled by default. log_filter_internal
内置并默认启用。See Section 5.4.2.5, “Priority-Based Error Log Filtering (log_filter_internal)”.请参阅第5.4.2.5节,“基于优先级的错误日志筛选(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_rules
system variable. dragnet.log_error_filter_rules
系统变量,提供错误日志筛选。See Section 5.4.2.6, “Rule-Based Error Log Filtering (log_filter_dragnet)”.请参阅第5.4.2.6节,“基于规则的错误日志筛选(Log_filter_dragnet)”。