Configuring Log Entry Truncation - API Server - Foundation 24.1 - Foundation 24.1 - Ready - OnBase - Essential - Premier - Standard - external - Standard - Essential - Premier

API Server

Platform
OnBase
Product
API Server
Release
Foundation 24.1
License
Standard
Essential
Premier

Logging entries can be configured to truncate in length to avoid the creation of overly long individual entries.

To configure Hyland.Logging to truncate individual log entries:

  1. Open the .json file for the API Server that contains the Hyland.Logging element.
  2. Locate the Hyland.Logging element.
  3. Add the following line toe the element before any specified logging routes:
    "TruncateLogValues": "NUMBER"
  4. Replace "NUMBER" with the desired length for log entries in characters in quotation marks. For example, replacing "NUMBER" with "20" will truncate all messages at 20 characters in length.
  5. Save the file and close the text editor.
  6. Reset the API Server.