Configure Find Logs

By default, Find generates an idol-access.log file, and uses it to log all the actions it makes to Knowledge Discovery component ACI and service ports. The log information includes: 

  • the user that sent the query.
  • the IP address the user is connecting from.
  • the component that the query is sent to (for example, QMS or Content)
  • the host and port of the component.
  • the full query that is sent to the component.
  • the status code that the component returns.
  • the time taken to complete the request.

The log also shows requests that failed without returning a HTTP status code (for example, because the component was turned off or blocked by a firewall).

To turn off logging

To turn off timing information in the logs

Use an Action ID

You can configure Find to send an action ID with each request to a Knowledge Discovery component, to help with tracking and troubleshooting. Find generates the action ID with a UUID and a prefix that you can configure. The default prefix is Find-. For example, Find-b17a4a79-b3ed-4706-80a6-06404140e815.

To use an action ID in requests

  • Set the Java system property idol.log.actionid.enabled to true, and optionally set idol.log.actionid.prefix to the prefix that you want to use. For example:

    java -Didol.log.actionid.enabled=true -Didol.log.actionid.prefix=Find- -Didol.find.home=[home directory]  -Dserver.port=[port] -jar find.war

For more information about setting Java system properties, see Using Java System Properties.