Disable logging of inter-server periodic search requests.
-
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
-
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"
-
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.
dsconfig set-log-publisher-prop --publisher-name "File-Based Access Logger" \ --set "request-criteria:Exclude Inter-server Searches"