Truncating Log Length - Truncating Log Length - OnBase - Diagnostics Service and Diagnostics Console - OnBase/Diagnostics-Service-and-Diagnostics-Console/English/Foundation-22.1/Diagnostics-Service-and-Diagnostics-Console/Configuration/Enabling-Logging-for-Modules/Hyland.Logging/Truncating-Log-Length - English - Foundation 22.1

Diagnostics Service and Diagnostics Console

Platform
OnBase
Product
Diagnostics Service and Diagnostics Console
Release
Foundation 22.1
License
ft:lastPublication
2022-08-18T23:29:51.342000
ft:locale
en-US

Long string values can be configured for automatic truncation in logs. To configure this option:

  1. Find the Hyland.Logging section of the application's .config file.
  2. Under this section, prior to the Route subsection, find the following line:

    <Hyland.Logging TruncateLogValues="NUMBER">

    If the line is not already present, add it before the <Routes> subsection.

  3. Replace NUMBER with the number of characters to truncate strings after, in quotation marks. The default value for this is 1024.
  4. Save the file and restart the application.