To disable the logging of inter-server periodic search requests and their results, perform the following steps:

  1. Create a request criteria that matches all search requests with the inter-server request control.
    dsconfig create-request-criteria --criteria-name "Inter-server Searches" \
            --type simple --set operation-type:search \
            --set any-included-request-control:1.3.6.1.4.1.30221.2.5.42
  2. Create a request criteria that matches all requests that are not searches with the inter-server request control.
    dsconfig create-request-criteria --criteria-name "Exclude Inter-server Searches" \
            --type aggregate --set "none-included-request-criteria:Inter-server Searches"
  3. Configure the access logger to use the request criteria you created. This will disable the logging of internal search requests and their corresponding results to the access log.
    dsconfig set-log-publisher-prop --publisher-name "File-Based Access Logger" \
            --set "request-criteria:Exclude Inter-server Searches"