<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="error-log-filtering">
      </a>
      7.4.2.4 Types of Error Log Filtering
     </h4>
    </div>
   </div>
  </div>
  <p>
   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:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <code class="literal">
       log_filter_internal
      </code>
      : This filter
            component provides error log filtering based on log event
            priority and error code, in combination with the
      <a class="link" href="server-system-variables.html#sysvar_log_error_verbosity">
       <code class="literal">
        log_error_verbosity
       </code>
      </a>
      and
      <a class="link" href="server-system-variables.html#sysvar_log_error_suppression_list">
       <code class="literal">
        log_error_suppression_list
       </code>
      </a>
      system variables.
      <code class="literal">
       log_filter_internal
      </code>
      is
            built in and enabled by default. See
      <a class="xref" href="error-log-priority-based-filtering.html" title="7.4.2.5 Priority-Based Error Log Filtering (log_filter_internal)">
       Section 7.4.2.5, “Priority-Based Error Log Filtering (log_filter_internal)”
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       log_filter_dragnet
      </code>
      : This filter component
            provides error log filtering based on user-supplied rules,
            in combination with the
      <a class="link" href="server-system-variables.html#sysvar_dragnet.log_error_filter_rules">
       <code class="literal">
        dragnet.log_error_filter_rules
       </code>
      </a>
      system variable. See
      <a class="xref" href="error-log-rule-based-filtering.html" title="7.4.2.6 Rule-Based Error Log Filtering (log_filter_dragnet)">
       Section 7.4.2.6, “Rule-Based Error Log Filtering (log_filter_dragnet)”
      </a>
      .
     </p>
    </li>
   </ul>
  </div>
 </div>
 <br/>
</div>
