Category Component 25.2
Category Component Help

# Set up Document Tracking with a Log Back End

This section describes how to set up document tracking to store information in a Knowledge Discovery log file.

To configure document tracking in logs

1. Open the component configuration file in a text editor.

2. (DIH only) Turn on document tracking by setting the `DocumentTracking` parameter to `True` in the `[Server]` section of the DIH configuration file.

       [Server]
       DocumentTracking=True

   NOTE: If you are using DIH in a unified configuration, set the `DocumentTracking` parameter to `True` in the `[DistributionSettings]` section.

3. Create a `[DocumentTracking]` configuration section.

4. In this `[DocumentTracking]` section, set the `Backend` parameter to `Log`.

5. Set any other configuration parameters for document tracking. For more information, refer to the Content component Reference. For example:

       [DocumentTracking]
       MaxEventsPerFile=500
       TimeoutSeconds=20
       UIDFieldName=UID

6. Find the `[Logging]` configuration section.

7. Configure a new log stream for document tracking, with LogTypeCSVs set to `doctrack`. For more information, see Customize Logging.

   For example:

       [Logging]
       LogLevel=FULL
       LogDirectory=Logs
       0=ApplicationLogStream
       1=ActionLogStream
       2=DocumentTrackingLogStream
       ...

       [DocumentTrackingLogStream]
       LogFile=doctrack.log
       LogHistorySize=50
       LogTime=True
       LogEcho=False
       LogMaxSizeKBs=1024
       LogTypeCSVs=doctrack

8. Save and close the configuration file.

   Restart the component for your changes to take effect.

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Category Component 25.2

Topic Title: Set up Document Tracking with a Log Back End