PingDirectory

Disabling logging of inter-server periodic search requests

Disable logging of inter-server periodic search requests.

Steps

  1. Create a request criteria that matches all search requests with the inter-server request control.

    Example:

    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.

    Example:

    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 disables the logging of internal search requests and their corresponding results to the access log.

    Example:

    dsconfig set-log-publisher-prop --publisher-name "File-Based Access Logger" \
            --set "request-criteria:Exclude Inter-server Searches"