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

API Server

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

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.